Function transpose

  • Transpose a matrix provided in Array of Arrays format.

    Type Parameters

    • T

    Parameters

    • matrix: ArrayLike<ArrayLike<T>>

    Returns T[][]