>----maxima-admin@math.utexas.edu wrote: -----
>could some one tell me what function to use to get
>the length of a vector in 3-d.
Maybe the 'length' function will work for you:
(%i1) length([1,2]);
(%o1) 2
(%i2) length([1,2,3]);
(%o2) 3
(%i3) length(a+b+c);
(%o3) 3
(1) Maxima doesn't have a special data structure for vectors.
Maxima's 'vect' package uses lists to represent vectors.
(2) The 'length' function works on non-lists.
Barton