![]() | This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages) (Learn how and when to remove this message)
|
Inmathematics, aunary function is afunction that takes oneargument. Aunary operator belongs to a subset of unary functions, in that itscodomain coincides with itsdomain. In contrast, a unary function's domain need not coincide with its range.
Thesuccessor function, denoted, is a unary operator. Its domain and codomain are thenatural numbers; its definition is as follows:
In someprogramming languages such asC, executing this operation is denoted bypostfixing++
to the operand, i.e. the use ofn++
is equivalent to executing the assignment.
Many of theelementary functions are unary functions, including thetrigonometric functions,logarithm with a specified base,exponentiation to a particular power or base, andhyperbolic functions.
![]() | Thismathematics-related article is astub. You can help Wikipedia byexpanding it. |