WordNet-Online
Free dictionary and thesaurus of English. Definitions, synonyms, antonyms and more...
Hint: double-click any word to get it searched!

Google
 

arity

 

Definitions from the Web

Arity

Definition:

Arity refers to the number of arguments or operands that a particular operation or function can take.

Senses and Usages:

  1. Mathematics: In mathematics, arity is commonly used to describe the number of inputs a function or operation requires. For example, addition and multiplication operations have an arity of 2 since they require two operands: 2 + 3 or 4 * 5.
  2. Computer Science: In computer programming, arity is applicable to functions or methods. It defines the number of arguments a function can accept. For instance, a function may have an arity of 3, requiring three arguments to be passed: calculateArea(width, height, depth).

Sample Sentences:

  • The arity of the addition operation is 2, meaning it takes two numbers and returns their sum.
  • This programming language allows functions with a variable arity, allowing flexibility in the number of arguments they accept.
  • The arity of the function is indicated by the number of parameters listed in its declaration.

Related Products:

arithmetic operation arithmetic progression arithmetical arithmetically arithmetician ariticial aritides aritman arity arius arive arived ariving arizona-utah arizona arizona ash arizona cypress

Sponsored (shop thru our affiliate link to help maintain this site):

WordNet-Online
Home | Free dictionary software | Copyright notice | Contact us | WordNet dictionary | Automotive thesaurus