matrix.swapaxes()

numpy.matrix.swapaxes

matrix.swapaxes(axis1, axis2)

Return a view of the array with axis1 and axis2 interchanged.

Refer to numpy.swapaxes for full documentation.

See also

numpy.swapaxes
equivalent function

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