Try length(a[1]).
The difference is that row(a,1) returns a matrix (of one row), while a[1]
returns a list.
Viktor
-----Original Message-----
From: maxima-admin@math.utexas.edu [mailto:maxima-admin at math] On
Behalf Of laurent couraud
Sent: Monday, March 21, 2005 6:42 PM
To: maxima@math.utexas.edu
Subject: Number of column in a matrix
Hello,
How to know the number of column in a matrix.
If A is the matrix and if I do :
LENGTH(ROW(A,1));
This return alway 1.
Thanks for your help.
_______________________________________________
Maxima mailing list
Maxima@www.math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima