{{alias}}( x, k ) Returns a read-only view of a matrix (or a stack of matrices) rotated 90 degrees clockwise. If `k > 0`, the function rotates the matrix clockwise. If `k < 0`, the function rotates the matrix counterclockwise. If provided an ndarray with fewer than two dimensions, the function does not perform a rotation and simply returns a new view of the input ndarray. Parameters ---------- x: ndarray Input array. k: integer Number of times to rotate by 90 degrees. Returns ------- out: ndarray A read-only view of a matrix (or a stack of matrices) rotated 90 degrees clockwise. Examples -------- > var x = {{alias:@stdlib/ndarray/array}}( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ] ) [ [ 1, 2, 3 ], [ 4, 5, 6 ] ] > var y = {{alias}}( x, 1 ) [ [ 4, 1 ], [ 5, 2 ], [ 6, 3 ] ] See Also --------