6.40.33 Making a list with a matrix: mat2list
The mat2list flattens a matrix into a list. (See also
Section 6.40.14.)
-
mat2list takes one argument:
A, a matrix.
- mat2list(A) returns the list of the coefficients of
A.
Example.
Input:
mat2list([[5,8],[1,9]])
Output: