Opentopia Directory Encyclopedia Tools

Unary operation

Encyclopedia : U : UN : UNA : Unary operation


In mathematics, a unary operation is an operation with only one operand (i.e. an operation with a single input). For instance, logical negation is a unary operation on truth values and squaring is a unary operation on the real numbers. Another unary operation is the factorial, n!. A unary operation on the set S is nothing but a function SS.

Unary operators (called "monadic" in APL) are also used in programming languages. For example, in the C family of languages, the following operators are unary:

See also

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.

Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: