
{{alias}}( x, dims, k, writable )
    Rotates an ndarray 90 degrees in a specified plane.

    If `k > 0`, the function rotates the plane from the first specified
    dimension toward the second specified dimension. This means that, for a two-
    dimensional ndarray and `dims = [0, 1]`, the function rotates the plane
    counterclockwise.

    If `k < 0`, the function rotates the plane from the second specified
    dimension toward the first specified dimension. This means that, for a two-
    dimensional ndarray and `dims = [0, 1]`, the function rotates the plane
    clockwise.

    Each provided dimension index must reside on the interval [-ndims, ndims-1].

    The returned ndarray is always a *view* of the input ndarray. Accordingly,
    writing to the original ndarray will mutate the returned ndarray and vice
    versa.

    Parameters
    ----------
    x: ndarray
        Input array.

    dims: ArrayLikeObject<integer>
        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`.

    k: integer
        Number of times to rotate by 90 degrees.

    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 ] ] )
    <ndarray>[ [ 1, 2 ], [ 3, 4 ] ]
    > var y = {{alias}}( x, [ 0, 1 ], 1, false )
    <ndarray>[ [ 2, 4 ], [ 1, 3 ] ]
    > y = {{alias}}( x, [ 0, 1 ], 2, false )
    <ndarray>[ [ 4, 3 ], [ 2, 1 ] ]
    > y = {{alias}}( x, [ 0, 1 ], 3, false )
    <ndarray>[ [ 3, 1 ], [ 4, 2 ] ]

    See Also
    --------
