Matrix Operations



 (%i32) m : matrix([a,b,c],[d,e,f])$

The matrix size:

 (%i33) matrix_size(m);
 (%o33) [2,3]

The length of the first row:

 (%i34) length(first(m));
 (%o34) 3

The length of the first column:

 (%i35) length(first(transpose(m)));
 (%o35) 2

Welcome to the Maxima list; let us know if you have additional questions.

--Barton

maxima-bounces at math.utexas.edu wrote on 04/07/2010 01:32:41 PM:

> [image removed] 
> 
> [Maxima] Matrix Operations
> 
> Iago Tejeda P?rez 
> 
> to:
> 
> maxima
> 
> 04/07/2010 01:32 PM
> 
> Sent by:
> 
> maxima-bounces at math.utexas.edu
> 
> Hi guys, 
> 
> this is my first post in Maxima Digest. I'd like to know whether 
> exists a function that return the row's and column's  length of a 
matrix.
> 
> Thanks in advance,
> Iago._______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima