Programmer Guide/Command Reference/EVAL/trn: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
:Note: If ''x'' is not a matrix, then the result is the same as the argument. | :Note: If ''x'' is not a matrix, then the result is the same as the argument. | ||
;See also: [[Programmer_Guide/Command_Reference/EVAL/inv|inv]], [[Programmer_Guide/Command_Reference/EVAL/mul|mul]], [[Programmer_Guide/Command_Reference/EVAL/ | ;See also: [[Programmer_Guide/Command_Reference/EVAL/inv|inv]], [[Programmer_Guide/Command_Reference/EVAL/mul|mul]], [[Programmer_Guide/Command_Reference/EVAL/complex arithmetic#special functions|ctrn]] | ||
[[Programmer_Guide/Command_Reference/EVAL#Functions|<function list>]] | [[Programmer_Guide/Command_Reference/EVAL#Functions|<function list>]] |
Revision as of 14:38, 8 April 2011
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.