Tuple

finite ordered list of elements From Wikipedia, the free encyclopedia

Remove ads
Remove ads

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.

Remove ads

References

Loading content...
Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads