SciPy

numpy.matrix.reshape

matrix.reshape(shape, order='C')

Returns an array containing the same data with a new shape.

Refer to numpy.reshape for full documentation.

See also

numpy.reshape
equivalent function

Previous topic

numpy.matrix.repeat

Next topic

numpy.matrix.resize