TOPICS
Search

n-Tuple


An n-tuple, sometimes simply called a "tuple" when the number n is known implicitly, is another word for a list, i.e., an ordered set of n elements. It can be interpreted as a vector, or more specifically, an n-vector.

In the Wolfram Language, n-tuples of length n in the alphabet consisting of the members in a list l can be enumerated using Tuples [list, n].

The following table summarizes special names given to n-tuples for small n.

n n-tuple
1 monad
2 pair or twins
3 triple or triad

AltStyle によって変換されたページ (->オリジナル) /