Vectors, one-dimensional arrays of values. [[how does a vector differs from an array?]] 2006-10-30,[Jaf]: I'd rather think of a list as a vector than of an array as a vector. A vector has an implicit association of it"s contents to the base vectors e.g first number of the vector is the first coordinate which says "how many" of the first vector from the base are witihn the vector we are looking at. Reading this again I think I made it more obscure than it was. But I can't find another wording, if one of you would step in for help....... As for the reprensentation of vectors inside a program, well either lists or arrays can be used, I think it depends on what one wants to do with the vector elements. ---- Related pages: * [Vector or matrix algebra in Tcl] * [Low-level vector data in Tcl] * [Vkit is a vector engine] * [vector.tk] * [Feather VectorObj] * [vexpr - an expr for vectors] (3d vectors) * [vector arithmetics] * [bit vectors] [BLT] contains vector operations too. In [pure-Tcl], lists are most appropriate for representing vectors. ---- [[ [Category Data Structure] | ]]