This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
(Learn how and when to remove this message)
|
In mathematics, a unary function is a function that takes one argument. A unary operator belongs to a subset of unary functions, in that its codomain coincides with its domain. In contrast, a unary function's domain need not coincide with its range.
Examples
[edit]The successor function, denoted , is a unary operator. Its domain and codomain are the natural numbers; its definition is as follows:
In some programming languages such as C, executing this operation is denoted by postfixing ++ to the operand, i.e. the use of n++ is equivalent to executing the assignment .
Many of the elementary functions are unary functions, including the trigonometric functions, logarithm with a specified base, exponentiation to a particular power or base, and hyperbolic functions.
See also
[edit]Bibliography
[edit]| Authority control databases: National |
|---|
This mathematics-related article is a stub. You can help Wikipedia by expanding it. |
- Articles with short description
- Short description is different from Wikidata
- Articles needing additional references from May 2024
- All articles needing additional references
- Articles lacking in-text citations from December 2024
- All articles lacking in-text citations
- Articles with multiple maintenance issues
- All stub articles
