Difference between revisions of "Identity Command"

From GeoGebra Manual
Jump to: navigation, search
m (command syntax: changed [ ] into ( ))
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|vector-matrix}}
{{command|vector-matrix}}
+
;Identity( <Number> )
; Identity[Number]: Returns the identity matrix with the given order.
+
:Gives the identity matrix of the given order.
:{{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=<div><code><nowiki>Identity(3)</nowiki></code> yields the matrix ''<math>\begin{pmatrix}1&0&0\\0&1&0\\0&0&1\end{pmatrix}</math>''.</div>}}
:{{Note|1=If ''A'' is a square matrix of order ''n'', <code>A^0</code> produces the same matrix as <code>Identity[n]</code>.}}
+
{{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>.}}
==CAS Syntax==
 
;Identity[Number]: Returns the identity matrix with the given order.
 

Latest revision as of 17:34, 29 September 2017

© 2024 International GeoGebra Institute