Tuple

finite ordered list of elements

In mathematics, a tuple is a finite sequence of objects. Sometimes, the finite sequence is also called an ordered list. This means that the order of the objects matter. In a tuple, the objects are either enclosed within parentheses (such as ),[1] or within angle brackets (such as ).[2] Each of the objects in the list has a certain type. A tuple consisting of n entries is called an n-tuple.[3] Tuples are used to describe mathematical objects that are made of certain, well-defined components. They are also used very frequently with databases. Tuples are different from sets:

  • A certain element can be in a tuple more than once.
  • The order in which the elements appear in a tuple is important.

In other words, tuples are like ordered multisets.

change

References

change
  1. "List of Arithmetic and Common Math Symbols". Math Vault. 2020-03-17. Retrieved 2020-09-23.
  2. "Tuple - Encyclopedia of Mathematics". encyclopediaofmath.org. Retrieved 2020-09-23.
  3. Weisstein, Eric W. "n-Tuple". mathworld.wolfram.com. Retrieved 2020-09-23.