Tuple

cosmos 18th December 2018 at 10:20pm
Data structure Set theory

An ordered collection of objects

"ordered" means, that the way the objects are listed "matters"; that is, two tuples which have the same objects, but in a different order, are different tuples. This is unlike Sets, which are simply a collection of objects, with no order attached to them.

Tuples are found, for instance, as elements of a Cartesian product. They are also a common Type in Programming languages (which is quite similar to the familiar type List or Array).