flatten

Matrix.flatten(self: object) object

As for numpy.ndarray