Difference between revisions of "Identity Command"
From GeoGebra Manual
(Created page with "<noinclude>{{Manual Page|version=4.0}}{{PAGENAME}}</noinclude> {{command|vector-matrix}} ; Identity[Order]: Returns the identity matrix with the gi...") |
|||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=4.0}} | + | <noinclude>{{Manual Page|version=4.0}}</noinclude> |
{{command|vector-matrix}} | {{command|vector-matrix}} | ||
− | ; Identity[Order]: Returns the identity matrix with the given order | + | ; Identity[Order n]: Returns the identity matrix with the given order |
− | : {{Example|1= <code>Identity[3]</code> gives you the matrix ''{{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}''.}} | + | :{{Example|1= <code>Identity[3]</code> gives you the matrix ''{{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}''.}} |
+ | :{{Note|1=If ''A'' is a square matrix of order ''n'', <code>A^0</code> produces the same matrix as <code>Identity[n]</code>.}} |
Revision as of 13:32, 27 July 2011
- Identity[Order n]
- Returns the identity matrix with the given order
- Example:
Identity[3]
gives you the matrix {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}.
- Note: If A is a square matrix of order n,
A^0
produces the same matrix asIdentity[n]
.