Version 11 of vector

Updated 2006-10-30 16:52:19

Vectors, one-dimensional arrays of values. UK ordered list of _same type_ 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:

BLT contains vector operations too.

In pure-Tcl, lists are most appropriate for representing vectors.


[ Category Data Structure | ]