Difference between revisions of "Identity Command"
From GeoGebra Manual
m (command syntax: changed [ ] into ( )) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|vector-matrix}} |
− | {{command|cas=true|vector-matrix}} | + | ;Identity( <Number> ) |
− | ;Identity | ||
:Gives the identity matrix of the given order. | :Gives the identity matrix of the given order. | ||
− | :{{example|1=<div><code><nowiki>Identity | + | :{{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><nowiki>A^0</nowiki></code> yields the same as <code><nowiki>Identity(n)</nowiki></code>.}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | 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><nowiki>A^0</nowiki></code> yields the same as <code><nowiki>Identity |
Latest revision as of 17:34, 29 September 2017
- 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)
.