[back] [prev] [next] [index] [root]

 


MatToRowList

Returns a list of the rows.

Syntax:

L := MatToRowList(M);

list
  L  
matrix
  M  

Description:

no detailed description available yet


Example:


kash> M := Mat(Z, [[1,2,3], [4,5,6], [7,8,9], [10,11,12]]);
[ 1  2  3]
[ 4  5  6]
[ 7  8  9]
[10 11 12]
kash> L := MatToRowList(M);
[ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ], [ 10, 11, 12 ] ]



Example:

The rows can also be accessed through:

kash> M[1];
[1 2 3]
kash> IsList(M);
> true


<- back[back] [prev] [next] [index] [root]