Content deleted Content added
Dpleibovitz (talk | contribs) |
|||
(20 intermediate revisions by 14 users not shown) | |||
Line 1:
{{Short description|Function that takes one argument}}
{{refimprove|date=August 2012}}▼
{{Multiple issues|
A '''unary function''' is a [[function (mathematics)|function]] that takes one [[Parameter (computer science)|argument]]. A [[unary operator]] belongs to a subset of unary functions, in that its [[range of a function|range]] coincides with its [[___domain (mathematics)|___domain]].▼
{{one source |date=May 2024}}
{{No footnotes|date=December 2024}}
}}
▲
== Examples ==
The [[successor function]], denoted <math>\operatorname{succ}</math>, is a unary operator. Its ___domain and codomain are the [[
: <math display="block">▼
▲:<math display="block">
\begin{align}
\operatorname{succ} : \quad & \mathbb{N} \rightarrow \mathbb{N} \\
Line 13 ⟶ 17:
</math>
In
Many of the [[elementary function]]s are unary functions,
== See also ==
* [[Arity]]
* [[Binary function]]
* [[Binary
* [[Iterated binary operation]]
* [[Ternary operation]]
* [[Unary operation]]
==
* [http://www.cs.ucl.ac.uk/staff/W.Langdon/FOGP Foundations of Genetic Programming]
{{Authority control}}
[[Category:Functions and mappings]]
[[Category:Types of functions]]
[[Category:Unary operations|*]]
{{maths-stub}}
|