unary (C1)
adjective
Pronunciation: /ˈjuːnəri/
Definition
Relating to or consisting of a single operation, operator, or element, especially in mathematics, computing, or logic.
Examples
The unary minus operator changes the sign of a number.
Unary functions are used in lambda calculus to represent simple transformations.
In some programming languages, the unary plus operator is used to convert a string to a number.
How to Use unary
- unary operator (noun phrase)
- a symbol that takes only one argument — "The unary operator '+' is used to indicate a positive number."
- unary function (noun phrase)
- a function that takes only one argument — "The unary function f(x) = 2x is a simple example of a linear function."
Browse the full Anaversity dictionary