Difference between revisions of "Transpose Command"

From GeoGebra Manual
Jump to: navigation, search
Line 2: Line 2:
 
{{command|vector-matrix}}
 
{{command|vector-matrix}}
 
; Transpose[Matrix]: Transposes the matrix.
 
; Transpose[Matrix]: Transposes the 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>.}}
+
: {{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>.}}
 
==CAS Syntax==
 
==CAS Syntax==
 
; Transpose[Matrix]: Transposes the matrix.
 
; Transpose[Matrix]: Transposes the matrix.
: {{Example|1=<code>Transpose[{{a, b}, {c, d}}]</code> gives you the matrix <math>(\begin{array}{cc} a&c\\ b&d\\  \end{array}</math>).}}
+
: {{Example|1=<code>Transpose[{{a, b}, {c, d}}]</code> gives you the matrix<math>\begin{pmatrix}a&c\\b&d\end{pmatrix}</math> .}}

Revision as of 10:39, 11 August 2011


Transpose[Matrix]
Transposes the matrix.
Example: Transpose[{{1,2,3},{4,5,6},{7,8,9}}]gives you 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}}] gives you the matrix\begin{pmatrix}a&c\\b&d\end{pmatrix} .
© 2024 International GeoGebra Institute