
{{alias}}( x, writable )
    Transposes a matrix (or a stack of matrices).

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

    The `writable` parameter only applies to ndarray constructors supporting
    read-only instances.

    If provided an ndarray with fewer than two dimensions, the function raises
    an exception.

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

    writable: boolean
        Boolean indicating whether the returned ndarray should be writable.

    Returns
    -------
    out: ndarray
        Output array.

    Examples
    --------
    > var x = {{alias:@stdlib/ndarray/array}}( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ] )
    <ndarray>[ [ 1, 2, 3 ], [ 4, 5, 6 ] ]
    > var y = {{alias}}( x, false )
    <ndarray>[ [ 1, 4 ], [ 2, 5 ], [ 3, 6 ] ]

    See Also
    --------

