Jump to content

Unary function

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Christian75 (talk | contribs) at 14:58, 9 April 2013 (References: Clean up, typos fixed: a operand → an operand using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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.

See also

References

Example :- a++ means a is an operand which is operated by a unary operator++. it can be written in this form a=a+1