Namespaces
Variants
Actions

Operand

From Encyclopedia of Mathematics
Revision as of 16:55, 7 February 2011 by 127.0.0.1 (talk) (Importing text file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

in programming languages

An argument of an operation; a grammatical construction signifying an expression that gives the value of the argument of an operation; sometimes the place or position in a text where the argument of an operation is to stand is called an operand. Hence the concept of arity of an operation, i.e. the number of arguments of an operation.

Depending on the position of the operand relative to the sign of the operation, one distinguishes between prefix (e.g. ), infix (e.g. ) and postfix (e.g. ) operations. Dependent on the number of operands there are one-placed (unary or monadic), two-placed (binary or dyadic) and many-placed (or polyadic) operations.

In distinguishing between the position of the operand and the operand as an actual argument, the concept of transforming or coercing the operand to the form required by the operation arises. For example, if a real argument is situated in the position of an integer operand, the rules of the language may imply some method of rounding the real number to an appropriate natural number. Another example of coercion is variation of the form of the representation of an object, for example, a scalar is transformed to a vector consisting of one component.

How to Cite This Entry:
Operand. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Operand&oldid=11479
This article was adapted from an original article by A.P. Ershov (originator), which appeared in Encyclopedia of Mathematics - ISBN 1402006098. See original article