Triples
Triples are ordered 3-tuples, commonly written as (a, b, c). Each component comes from a possibly different set, so a ∈ A, b ∈ B, c ∈ C, and the triple is an element of the Cartesian product A×B×C. Because order matters, (a, b, c) is not the same as (b, a, c). A triple can also be viewed as a point in three-dimensional space, such as a vector (x, y, z) in R^3.
In mathematics and computer science, triples appear in many models. In geometry and algebra, they specify coordinates,
Operations on triples include projection to a component (taking the first, second, or third element) and combining
Related concepts include k-tuples for any fixed length k, and higher-dimensional analogues. The concept of a