Difference between revisions of "Identity Command"
From GeoGebra Manual
Line 19: | Line 19: | ||
0&0&1 | 0&0&1 | ||
\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>.</div>}} |
− | |||
− |
Revision as of 11:23, 14 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 asIdentity[n]
. - This command is not dynamic. For example the result of
Identity[a]
will not change if a is changed.
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 asIdentity[n]
.
- If A is a square matrix of order n,