{{alias}}( x, writable ) Returns a view of an input ndarray in which the order of elements along the last dimension is reversed. If provided a zero-dimensional ndarray, as the ndarray has no dimensions to reverse, the function simply returns a new view of the input ndarray. Parameters ---------- x: ndarray Input array. writable: boolean Boolean indicating whether a returned ndarray should be writable. This parameter only applies to ndarray constructors which support read-only instances. Returns ------- out: ndarray Output array view. Examples -------- > var x = {{alias:@stdlib/ndarray/array}}( [ [ 1, 2 ], [ 3, 4 ] ] ) [ [ 1, 2 ], [ 3, 4 ] ] > {{alias:@stdlib/ndarray/shape}}( x ) [ 2, 2 ] > var y = {{alias}}( x, false ) [ [ 2, 1 ], [ 4, 3 ] ] > {{alias:@stdlib/ndarray/shape}}( y ) [ 2, 2 ] See Also --------