Difference between revisions of "Identity Command"

From GeoGebra Manual
Jump to: navigation, search
m (Bot: Automated text replacement (-{{command +{{command|cas=true))
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
{{command|vector-matrix}}
+
{{command|cas=true|vector-matrix}}
 
; Identity[Number n]: Returns the identity matrix with the given order (<math>n\times n</math>).
 
; Identity[Number n]: Returns the identity matrix with the given order (<math>n\times n</math>).
 
:{{Example|1= <code>Identity[3]</code> gives you the matrix ''<math>\begin{pmatrix}1&0&0\\0&1&0\\0&0&1\end{pmatrix}</math>''.}}
 
:{{Example|1= <code>Identity[3]</code> gives you the matrix ''<math>\begin{pmatrix}1&0&0\\0&1&0\\0&0&1\end{pmatrix}</math>''.}}

Revision as of 13:52, 10 September 2011



Identity[Number n]
Returns the identity matrix with the given order (n\times n).
Example: Identity[3] gives you 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 produces the same matrix as Identity[n].
This command is not dynamic. ie Identity[a] will not change when a is changed.

CAS Syntax

Identity[Number]
Returns the identity matrix with the given order.
© 2024 International GeoGebra Institute