Difference between revisions of "Transpose Command"

From GeoGebra Manual
Jump to: navigation, search
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> ]
: {{Example|1=<code>Transpose[{{1,2,3},{4,5,6},{7,8,9}}]</code>gives you the matrix <math>\begin{pmatrix}1&4&7\\ 2&5&8\\ 3&6&9\end{pmatrix}</math>.}}
+
: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> ]
: {{Example|1=<code>Transpose[{{a, b}, {c, d}}]</code> gives you the matrix<math>\begin{pmatrix}a&c\\b&d\end{pmatrix}</math> .}}
+
: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}.
© 2024 International GeoGebra Institute