Difference between revisions of "Identity Command"

From GeoGebra Manual
Jump to: navigation, search
Line 9: Line 9:
 
\end{pmatrix}</math>''.</div>}}
 
\end{pmatrix}</math>''.</div>}}
 
{{note|1=<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>.
+
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>.
* This command is not dynamic. For example the result of <code><nowiki>Identity[a]</nowiki></code> will not change if ''a'' is changed.</div>}}
+
</div>}}
 
==CAS Syntax==
 
==CAS Syntax==
 
;Identity[ <Number> ]
 
;Identity[ <Number> ]

Revision as of 03:42, 18 September 2012



Identity[ <Number n> ]
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