Unary function
From Wikipedia, the free encyclopedia
A unary function is a function that takes one argument. In computer science, a unary operator is a subset of unary function.
Example :- a++ here a is an operand which is operated by a unary operator++. it can be written in the form a=a+1. Many of the elementary functions are unary functions, in particular the trigonometric functions, logarithm with a pre-specified base, exponentiation to a pre-specified power or from a pre-specified base, and hyperbolic function are unary.
[edit] See also
- Arity
- Binary function
- Binary operator
- List of mathematical functions
- Ternary operation
- Unary operation
[edit] References
| This mathematics-related article is a stub. You can help Wikipedia by expanding it. |
Example :- a++ means a is a operand which is operated by a unary operator++. it can be writen in this form a=a+1