Difference between revisions of "Transpose Command"

From GeoGebra Manual
Jump to: navigation, search
m
m (command syntax: changed [ ] into ( ))
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|vector-matrix}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|vector-matrix}}
;Transpose[ <Matrix> ]
+
;Transpose( <Matrix> )
 
:Transposes the 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>}}
+
:{{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> ]
+
;Transpose( <Matrix> )
 
:Transposes the 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>}}
+
:{{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 17:42, 29 September 2017


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