Tuples


Tuples

In mathematics, a Tuple is a fixed-length sequence of mathematical objects. We call this fixed length the arity of the tuple (though calling it the "length" is perfectly fine, too). Unlike e.g. a List in Computer Science, the number of elements of a tuple is always fixed.

We use the notation

to denote a tuple of arity $n$.

For example, the following tuple $p$ has the arity $2$:

We often call such tuples pairs.

Analogously, we often call tuples of arity $3$ triples.