Programmer Guide/Command Reference/EVAL/trn: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
m (1 revision: Initial import) |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
Transpose the matrix ''x''. | |||
;Usage: <code>trn(<var>x</var>)</code> | |||
:;<var>x</var>: a matrix | |||
;Result: The result ''r'' is the transposed matrix ''x'' (<code>''r''[i,j] = ''x[j,i]''</code>) | |||
:Note: If ''x'' is not a matrix, then the result is the same as the argument. | |||
;See also: [[../inv|inv]], [[../mul|mul]], [[../complex arithmetic#special functions|ctrn]] | |||
[[../#Functions|<function list>]] | |||