Previous Up Next

6.40.33  Making a list with a matrix: mat2list

The mat2list flattens a matrix into a list. (See also Section 6.40.14.)


Example.
Input:

mat2list([[5,8],[1,9]])

Output:


5,8,1,9

Previous Up Next