1)、C++中的tuple概念:Tuples 是大小固定的异构对象集合,它正在被添加到 C++ 标准。但是目前<tulpe>库还并不一定是标准库的一部分。因此,要想使用这个库必须到 Boost 下载并安装。tuple的使用介绍可参考这里[ http://www.vckbase.com/document/viewdoc/?id=1366 ]
2)、Python中的tuple的概念: Tuple 是不可变的 list。一旦创建了一个 tuple,就不能以任何方式改变它。
3)tuple 维基百科中的说明【http://en.wikipedia.org/wiki/Tuple】
In mathematics and computer science, a tuple is an ordered list of elements. In set theory, an (ordered) n-tuple is a sequence (or ordered list) of n elements, where n is a positive integer. There is also one 0-tuple, an empty sequence. An n-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.
4)查字典
tuple 名词 n.
1.元组,数组
2.重数
3. 组