{{alias}}( x[, options] ) Returns a read-only view of an input ndarray rotated 180 degrees in a specified plane. Each provided dimension index must reside on the interval [-ndims, ndims-1]. Parameters ---------- x: ndarray Input array. options: Object (optional) Function options. options.dims: ArrayLikeObject (optional) Dimension indices defining the plane of rotation. Must contain exactly two unique dimension indices. If less than zero, an index is resolved relative to the last dimension, with the last dimension corresponding to the value `-1`. Default: [ -2, -1 ]. Returns ------- out: ndarray Output array view. Examples -------- > var x = {{alias:@stdlib/ndarray/array}}( [ [ 1, 2 ], [ 3, 4 ] ] ) [ [ 1, 2 ], [ 3, 4 ] ] > var y = {{alias}}( x ) [ [ 4, 3 ], [ 2, 1 ] ] See Also --------