Previous Up Next

5.40.34 Making a list with a matrix: mat2list

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

Example

Input:

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

Output:


5,8,1,9

Previous Up Next