matrix.reshape()

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

© 2008–2016 NumPy Developers
Licensed under the NumPy License.
登录查看完整内容