up previous next
GetRows

convert a matrix into a list of lists

Syntax
GetRows(M: MAT): LIST of LIST

Description
This function produces a list of lists containing the rows of M .

Example
/**/  M := mat([[1,2], [3,4]]);
/**/  GetRows(M);
[[1, 2], [3, 4]]

See Also