trn

From STX Wiki
Jump to navigation Jump to search

Transpose the matrix x.

Usage
trn(x)
x
a matrix
Result
The result r is the transposed matrix x (r[i,j] = x[j,i])
Note: If x is not a matrix, then the result is the same as the argument.
See also
inv, mul, ctrn

<function list>