different between sequence vs tuple

sequence

English

Etymology

From Middle English sequence, borrowed from French sequence (a sequence of cards, answering verses), from Late Latin sequentia (a following), from Latin sequens (following), from sequi (to follow); see sequent.

Pronunciation

  • IPA(key): /?si?kw?ns/

Noun

sequence (countable and uncountable, plural sequences)

  1. A set of things next to each other in a set order; a series
  2. (uncountable) The state of being sequent or following; order of succession.
    Complete the listed tasks in sequence.
  3. A series of musical phrases where a theme or melody is repeated, with some change each time, such as in pitch or length (example: opening of Beethoven's Fifth Symphony).
  4. A musical composition used in some Catholic Masses between the readings. The most famous sequence is the Dies Irae (Day of Wrath) formerly used in funeral services.
  5. (mathematics) An ordered list of objects, typically indexed with natural numbers.
  6. (now rare) A subsequent event; a consequence or result.
    • 1891, Mary Noailles Murfree, In the "Stranger People's" Country, Nebraska 2005, pp. 12-13:
      he found no words to convey the impressions he had received; then he gave way to the anger always the sequence of the antagonism of opinion between them.
  7. A series of shots that depict a single action or style in a film, television show etc.
  8. (card games) A meld consisting of three or more cards of successive ranks in the same suit, such as the four, five and six of hearts.

Usage notes

  • (mathematics): Beginning students often confuse sequence with series.

Synonyms

  • (a set of things next to each other in a set order): See Thesaurus:sequence

Hypernyms

  • (mathematics): function

Hyponyms

  • presequence
  • (computing): escape sequence

Meronyms

  • (mathematics): term

Derived terms

Related terms

Translations

Verb

sequence (third-person singular simple present sequences, present participle sequencing, simple past and past participle sequenced)

  1. (transitive) to arrange in an order
  2. (transitive, biochemistry) to determine the order of things, especially of amino acids in a protein, or of bases in a nucleic acid
  3. (transitive) to produce (music) with a sequencer

Translations

References

Further reading

  • sequence in Webster’s Revised Unabridged Dictionary, G. & C. Merriam, 1913.
  • sequence in The Century Dictionary, New York, N.Y.: The Century Co., 1911.

sequence From the web:

  • what sequence mean
  • what sequence to watch star wars
  • what sequence settings for premiere pro
  • what sequence to watch marvel
  • what sequence to watch the marvel movies
  • what sequence to watch stargate
  • what does sequence mean
  • what do sequence numbers mean


tuple

English

Wikibooks

Wikibooks

Etymology

From the ending of the words quintuple, sextuple; from Latin -plus.

Pronunciation

  • (UK) IPA(key): /?t?p?l/, /?t??u?p?l/, /?tju?p?l/
  • (US) IPA(key): /?tu?p?l/, /?t?p?l/
  • Rhymes: -u?p?l, -?p?l

Noun

tuple (plural tuples)

  1. (set theory) A finite sequence of terms.
    A tuple is not merely a totally-ordered set because the same element can appear more than once in a tuple: for example, ( a , b , a ) {\displaystyle (a,b,a)} qualifies as a 3-tuple whereas it would not qualify as a totally-ordered set (of cardinality 3), because the set would be { a , b } {\displaystyle \{a,b\}} where a ? b {\displaystyle a\leq b} and b ? a {\displaystyle b\leq a} so that a = b {\displaystyle a=b} ; i.e., it would actually be a one-element set, { a } {\displaystyle \{a\}} , not even just two-element.
    If commutativity were added to a tuple, it would turn into a multiset or "bag". For example, words (of some alphabetic language) can be considered to be tuples of letters. If the ordering requirement on those letters were lifted, then the word would become a multiset of letters equivalent to those of its anagrams.
  2. (computing) A single row in a relational database.
  3. (computing) A set of comma-separated values passed to a program or operating system as a parameter to a function call.
  4. (computing) In some programming languages, a data type that is similar to 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.)
    Both Python and Haskell have a tuple data type as well as a list data type.
    Unlike lists, tuples are not formed by consing.

Synonyms

  • (finite sequence of terms): n-tuple (when the sequence contains n terms), ordered pair (when the sequence contains exactly two terms), triple or triplet (when the sequence contains exactly three terms)

Related terms

  • -tuple
  • ordered pair
  • tuplet
  • component

Translations

Anagrams

  • let up, let-up, letup, plute

tuple From the web:

  • what tuple in python
  • what tuple meaning
  • what's tuple in database
  • what tuple in c#
  • what's tuples in sql
  • what tuple in scala
  • what tuple does in c#
  • tuple what is it used for
+1
Share
Pin
Like
Send
Share

you may also like