Unary
Unary describes a relation or operation involving a single operand. The term comes from the Latin unus meaning “one.” In mathematics, logic, and computer science, unary is used to distinguish things that act on one input from those with two inputs (binary) or more.
In mathematics, a unary operation maps a single element to another. Examples include negation, which sends x
The unary numeral system, or base-1 representation, expresses a number by a count of a single symbol,
In computing, a unary operator applies to exactly one operand. Common examples include unary plus and unary
In logic and theoretical computer science, a unary predicate or unary function has arity one, meaning it
Overall, unary emphasizes the single-input nature of a function, operation, or relation across disciplines.
---