matrix.ravel()

numpy.matrix.ravel

matrix.ravel(order='C') [source]

Return a flattened matrix.

Refer to numpy.ravel for more documentation.

Parameters:

order : {‘C’, ‘F’, ‘A’, ‘K’}, optional

The elements of m are read using this index order. ‘C’ means to index the elements in C-like order, with the last axis inde