Difference between revisions of "Identity Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|cas=true|vector-matrix}}
 
{{command|cas=true|vector-matrix}}
;Identity[ <Number n> ]
+
;Identity[ <Number> ]
 
:Gives the identity matrix of the given order.
 
:Gives the identity matrix of the given order.
 
:{{example|1=<div><code><nowiki>Identity[3]</nowiki></code> yields the matrix ''<math>\begin{pmatrix}
 
:{{example|1=<div><code><nowiki>Identity[3]</nowiki></code> yields the matrix ''<math>\begin{pmatrix}
Line 8: Line 8:
 
0&0&1
 
0&0&1
 
\end{pmatrix}</math>''.</div>}}
 
\end{pmatrix}</math>''.</div>}}
{{note|1=<div>
+
{{note|1=If ''A'' is a square matrix of order ''n'', <code><nowiki>A^0</nowiki></code> yields the same as <code><nowiki>Identity[n]</nowiki></code>.}}
If ''A'' is a square matrix of order ''n'', <code><nowiki>A^0</nowiki></code> yields the same as <code><nowiki>Identity[n]</nowiki></code>.
 
</div>}}
 
 
==CAS Syntax==
 
==CAS Syntax==
 
;Identity[ <Number> ]
 
;Identity[ <Number> ]
Line 19: Line 17:
 
0&0&1
 
0&0&1
 
\end{pmatrix}</math>''.</div>}}
 
\end{pmatrix}</math>''.</div>}}
{{note|1=<div>If ''A'' is a square matrix of order ''n'', <code><nowiki>A^0</nowiki></code> yields the same as <code><nowiki>Identity[n]</nowiki></code>.</div>}}
+
{{note|1=If ''A'' is a square matrix of order ''n'', <code><nowiki>A^0</nowiki></code> yields the same as <code><nowiki>Identity[n]</nowiki></code>.}}

Revision as of 09:08, 21 May 2013



Identity[ <Number> ]
Gives the identity matrix of the given order.
Example:
Identity[3] yields the matrix \begin{pmatrix} 1&0&0\\ 0&1&0\\ 0&0&1

\end{pmatrix}
.
Note: If A is a square matrix of order n, A^0 yields the same as Identity[n].

CAS Syntax

Identity[ <Number> ]
Gives the identity matrix of the given order.
Example:
Identity[3] yields the matrix \begin{pmatrix} 1&0&0\\ 0&1&0\\ 0&0&1

\end{pmatrix}
.
Note: If A is a square matrix of order n, A^0 yields the same as Identity[n].
© 2024 International GeoGebra Institute