Swaps the rows and columns of a specified table.
TRANSPOSE(a)
a |
- |
An array or series. |
An NxM array where the input is an MxN array.
W1: {{1, 2, 3},
{1, 2, 3},
{1, 2, 3}}
W2: transpose(W1)
W2 == {{1, 1, 1},
{2, 2, 2},
{3, 3, 3}}
The postfix ' operator is equivalent to transpose. For example:
a = transpose(b)
a = b’
Are equivalent.
See TRANSPOSECONJ to perform the conjugate transpose of a matrix.