Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Unary function

From Wikipedia, the free encyclopedia
Function that takes one argument
This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages)
This articlerelies largely or entirely on asingle source. Relevant discussion may be found on thetalk page. Please helpimprove this article byintroducing citations to additional sources.
Find sources: "Unary function" – news ·newspapers ·books ·scholar ·JSTOR
(May 2024)
This article includes alist of references,related reading, orexternal links,but its sources remain unclear because it lacksinline citations. Please helpimprove this article byintroducing more precise citations.(December 2024) (Learn how and when to remove this message)
(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.

Examples

[edit]

Thesuccessor function, denotedsucc{\displaystyle \operatorname {succ} }, is a unary operator. Its domain and codomain are thenatural numbers; its definition is as follows:

succ:NNn(n+1){\displaystyle {\begin{aligned}\operatorname {succ} :\quad &\mathbb {N} \rightarrow \mathbb {N} \\&n\mapsto (n+1)\end{aligned}}}

In someprogramming languages such asC, executing this operation is denoted bypostfixing++ to the operand, i.e. the use ofn++ is equivalent to executing the assignmentn:=succ(n){\displaystyle n:=\operatorname {succ} (n)}.

Many of theelementary functions are unary functions, including thetrigonometric functions,logarithm with a specified base,exponentiation to a particular power or base, andhyperbolic functions.

See also

[edit]

References

[edit]
Authority control databases: NationalEdit this at Wikidata


Stub icon

Thismathematics-related article is astub. You can help Wikipedia byexpanding it.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Unary_function&oldid=1265378342"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp