Arity is the number of arguments or operands taken by a function, operation or relation. A function that takes no arguments is called nullary, one that takes a single argument is unary, one that takes two arguments is binary, and one that takes three is ternary, with the general case for n arguments called n-ary. Common binary operations include ordinary addition and multiplication, and many programming languages include a ternary conditional operator. In mathematics arity is sometimes called rank, in logic and philosophy it is sometimes called adicity or degree, and the closely related idea is called valency in linguistics.
Facts
Connections
In Branch
Is Kind Of Object
Sources
1. Arity (Wikipedia)
Lead section
In logic, mathematics, and computer science, arity ( ) is the number of arguments or operands taken by a function, operation or relation.
In Branch: Logic and Foundations, Lead sentence
In logic, mathematics, and computer science, arity ( ) is the number of arguments or operands taken by a function, operation or re
View the SourceReader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.