Investment Studio > Expressions > Functions > Matrix > TRANSPOSE
array[*][*] transpose(array argument)
Swaps column and row coordinates of all array cells in argument (standard matrix transposition).
Examples
=transpose({1, 2, 3, 4})
returns the column vector {{1}, {2}, {3}, {4}}
=transpose({{1}, {2}, {3}, {4}})
returns the row vector {1, 2, 3, 4}
=transpose({{1, 2}, {3, 4}})
returns the transposed matrix {{1, 3}, {2, 4}}.
See also flipcols, fliprows, msort, swapcols, swaprows.