Difference between revisions of "ReducedRowEchelonForm Command"
From GeoGebra Manual
m (command syntax: changed [ ] into ( )) |
m (examples template) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
;ReducedRowEchelonForm( <Matrix> ) | ;ReducedRowEchelonForm( <Matrix> ) | ||
:Returns the [[w:Row_echelon_form|reduced echelon form]] of the matrix. | :Returns the [[w:Row_echelon_form|reduced echelon form]] of the matrix. | ||
− | :{{ | + | :{{examples| 1=<div> |
+ | :*<code><nowiki>ReducedRowEchelonForm({{1, 6, 4}, {2, 8, 9}, {4, 5, 6}})</nowiki></code> yields the matrix <math> \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}</math>. | ||
+ | :*<code><nowiki>ReducedRowEchelonForm({{2, 10, 11, 4}, {2, (-5), (-6), 12}, {2, 5, 3, 2}})</nowiki></code> yields the matrix <math> \begin{pmatrix} 1 & 0 & 0 & 5\\ 0 & 1 & 0 & -2.8\\ 0 & 0 & 1 & 2\end{pmatrix}</math>.</div>}} | ||
==CAS Syntax== | ==CAS Syntax== | ||
;ReducedRowEchelonForm( <Matrix> ) | ;ReducedRowEchelonForm( <Matrix> ) | ||
:Returns the [[w:Row_echelon_form|reduced echelon form]] of the matrix. | :Returns the [[w:Row_echelon_form|reduced echelon form]] of the matrix. | ||
− | :{{ | + | :{{examples| 1=<div> |
+ | :*<code><nowiki>ReducedRowEchelonForm({{1, 6, 4}, {2, 8, 9}, {4, 5, 6}})</nowiki></code> yields the matrix <math> \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}</math>. | ||
+ | :*<code><nowiki>ReducedRowEchelonForm({{2, 10, 11, 4}, {2, (-5), (-6), 12}, {2, 5, 3, 2}})</nowiki></code> yields the matrix <math> \begin{pmatrix} 1 & 0 & 0 & 5\\ 0 & 1 & 0 & \frac{-14}{5} \\ 0 & 0 & 1 & 2\end{pmatrix}</math>.</div>}} |
Latest revision as of 09:56, 12 October 2018
- ReducedRowEchelonForm( <Matrix> )
- Returns the reduced echelon form of the matrix.
- Examples:
ReducedRowEchelonForm({{1, 6, 4}, {2, 8, 9}, {4, 5, 6}})
yields the matrix \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}.ReducedRowEchelonForm({{2, 10, 11, 4}, {2, (-5), (-6), 12}, {2, 5, 3, 2}})
yields the matrix \begin{pmatrix} 1 & 0 & 0 & 5\\ 0 & 1 & 0 & -2.8\\ 0 & 0 & 1 & 2\end{pmatrix}.
CAS Syntax
- ReducedRowEchelonForm( <Matrix> )
- Returns the reduced echelon form of the matrix.
- Examples:
ReducedRowEchelonForm({{1, 6, 4}, {2, 8, 9}, {4, 5, 6}})
yields the matrix \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}.ReducedRowEchelonForm({{2, 10, 11, 4}, {2, (-5), (-6), 12}, {2, 5, 3, 2}})
yields the matrix \begin{pmatrix} 1 & 0 & 0 & 5\\ 0 & 1 & 0 & \frac{-14}{5} \\ 0 & 0 & 1 & 2\end{pmatrix}.