Reverse the order of elements in an array along the given axis. The shape of the array is preserved, but the elements are reordered. New in version 0.15.0.
Input array.
Axis in array, which entries are reversed.
A view of m with the entries of axis reversed. Since a view is returned, this operation is done in constant time.
m
Reverse the order of elements in an array along the given axis. The shape of the array is preserved, but the elements are reordered. New in version 0.15.0.