{{alias}}( x, dims ) Returns a new ndarray where the order of elements of an input ndarray along specified dimensions is reversed. Parameters ---------- x: ndarray Input array. dims: ArrayLikeObject Dimension indices along which to reverse elements. If provided an integer less than zero, the dimension index is resolved relative to the last dimension, with the last dimension corresponding to the value `-1`. Returns ------- out: ndarray Output array. Examples -------- > var x = {{alias:@stdlib/ndarray/array}}( [ [ 1, 2 ], [ 3, 4 ] ] ) [ [ 1, 2 ], [ 3, 4 ] ] > var y = {{alias}}( x, [ 0, 1 ] ) [ [ 4, 3 ], [ 2, 1 ] ] See Also --------