arity

noun

Meaning

The number of arguments or operands taken by a function, operator, or relation in mathematics and logic.

Examples

  • A unary function has an arity of one, meaning it only accepts a single input.
  • The addition operator is a binary operation because its arity is two.

Synonyms: valence