Find the word definition

Crossword clues for tuple


n. 1 (context set theory English) A finite sequence of terms. 2 (context computing English) A single row in a relational database. 3 (context computing English) A set of comma-separated values passed to a program or operating system as a parameter to a function call. 4 (context computing English) In some programming languages, a data type which is similar but distinct from the list data type, whose instances are characterized by having a rather fixed arity, and the elements of which instances can differ from each other by data type. (''Note'': this definition may overlap with the previous one.)


A tuple is a finite ordered list of elements. In mathematics, an -tuple is a sequence (or ordered list) of elements, where is a non-negative integer. There is only one 0-tuple, an empty sequence. An -tuple is defined inductively using the construction of an ordered pair. Tuples are usually written by listing the elements within parentheses " " and separated by commas; for example, (2, 7, 4, 1, 7) denotes a 5-tuple. Sometimes other symbols are used to surround the elements, such as square brackets "[ ]" or angle brackets "< >". Braces "{ }" are only used in defining arrays in some programming languages such as Java, but not in mathematical expressions, as they are the standard notation for sets. Tuples are often used to describe other mathematical objects, such as vectors. In computer science, tuples are directly implemented as product types in most functional programming languages. More commonly, they are implemented as record types, where the components are labeled instead of being identified by position alone. This approach is also used in relational algebra. Tuples are also used in relation to programming the semantic web with the Resource Description Framework (RDF). Tuples are also used in linguistics and philosophy.