![]() 1,076,131,505 visitors served. |
|
![]() Dictionary/ thesaurus | ![]() Medical dictionary | ![]() Legal dictionary | ![]() Financial dictionary | ![]() Acronyms | ![]() Idioms | ![]() Encyclopedia | ![]() Wikipedia encyclopedia | ? |
function |
Also found in: Dictionary/thesaurus, Medical, Idioms, Wikipedia | 0.04 sec. |
|
function, in mathematics, a relation f that assigns to each member x of some set X a corresponding member y of some set Y; y is said to be a function of x, usually denoted f(x) (read "f of x "). In the equation y=f(x), x is called the independent variable and y the dependent variable. In practice, X and Y will most often be sets of numbers, vectors, points of some geometric object, or the like. For example, X might be a solid body and f(x) the temperature at the point x in X; in this case, Y will be a set of numbers. The formula A=πr 2 expresses the area of a circle as a function of its radius. A function f is often described in terms of its graph, which consists of all points (x,y) in the plane such that y=f(x). Although a function f assigns a unique y to each x, several x 's may yield the same y ; e.g., if y=f(x)=x 2 (x is a number), then f(2)=f(−2). If this never occurs, then f is called a one-to-one, or injective, function. functionIn mathematics, an expression, rule, or law that defines a relationship between one variable (the independent variable) and another (the dependent variable), which changes along with it. Most functions are numerical; that is, a numerical input value is associated with a single numerical output value. The formula A = πr2, for example, assigns to each positive real number r the area A of a circle with a radius of that length. The symbols f(x) and g(x) are typically used for functions of the independent variable x. A multivariable function such as w = f(x, y) is a rule for deriving a single numerical value from more than one input value. A periodic function repeats values over fixed intervals. If f(x + k) = f(x) for any value of x, f is a periodic function with a period of length k (a constant). The trigonometric functions are periodic. See also density function; exponential function; hyperbolic function; inverse function; transcendental function. In programming, a self-contained software routine that performs a task. Functions can do a large amount of processing or as little as adding two numbers and deriving a result. Values are passed to the function, and values may be returned. Or, the function may just perform the operation and not return a resulting value. The concept of a function within a program is that, once written, it can be used over and over again without the programmer having to duplicate the same lines of code in the program each time that same processing is desired.
handle = open("budget.txt");
size = read(handle, InputBuffer, length);
How to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit webmaster's page for free fun content. |
|
? Mentioned in | |||||
|---|---|---|---|---|---|
|
| Free Tools: |
For surfers:
Browser extension |
Word of the Day |
Help
For webmasters: Free content | Linking | Lookup box | Double-click lookup | Partner with us |
|
|---|