Difference between revisions of "Transpose Command"
From GeoGebra Manual
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | <noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | ||
{{command|vector-matrix}} | {{command|vector-matrix}} | ||
− | ; Transpose[Matrix]: Transposes the matrix. | + | ;Transpose[ <Matrix> ] |
− | : {{ | + | :Transposes the matrix. |
+ | :{{example|1=<div><code><nowiki>Transpose[{{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}]</nowiki></code> yields the matrix <math>\begin{pmatrix}1&4&7\\ 2&5&8\\ 3&6&9\end{pmatrix}</math>.</div>}} | ||
==CAS Syntax== | ==CAS Syntax== | ||
− | ; Transpose[Matrix]: Transposes the matrix. | + | ;Transpose[ <Matrix> ] |
− | : {{ | + | :Transposes the matrix. |
+ | :{{example|1=<div><code><nowiki>Transpose[{{a, b}, {c, d}}]</nowiki></code> yields the matrix<math>\begin{pmatrix}a&c\\b&d\end{pmatrix}</math>.</div>}} |
Revision as of 11:24, 6 September 2011
- Transpose[ <Matrix> ]
- Transposes the matrix.
- Example:
Transpose[{{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}]
yields the matrix \begin{pmatrix}1&4&7\\ 2&5&8\\ 3&6&9\end{pmatrix}.
CAS Syntax
- Transpose[ <Matrix> ]
- Transposes the matrix.
- Example:
Transpose[{{a, b}, {c, d}}]
yields the matrix\begin{pmatrix}a&c\\b&d\end{pmatrix}.