Difference between revisions of "Manuals/calci/IDENTITY"

From ZCubes Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
*Identity matrix is also called as Unit matrix.
 
*Identity matrix is also called as Unit matrix.
 
*The identity matrix is the identity for matrix multiplication.
 
*The identity matrix is the identity for matrix multiplication.
*The form of identity matrices are:
+
*The form of identity matrices are
 
<math> I_1=\begin{bmatrix}
 
<math> I_1=\begin{bmatrix}
 
1 \\
 
1 \\
Line 29: Line 29:
 
0 & 0 & 0    & \cdots & 1
 
0 & 0 & 0    & \cdots & 1
 
\end{bmatrix}</math>
 
\end{bmatrix}</math>
 +
 +
 +
==Examples==
 +
*1.MATRIX("identity")
 +
{| class="wikitable"
 +
|-
 +
| 1 || 0 || 0
 +
|-
 +
| 0 || 1 || 0
 +
|-
 +
| 0|| 0 || 1
 +
|}
 +
*2.MATRIX("identity",6)
 +
{| class="wikitable"
 +
|-
 +
| 1 || 0 || 0 || 0 || 0 ||0
 +
|-
 +
| 0 || 1 || 0 || 0 || 0 || 0
 +
|-
 +
| 0|| 0 || 1 || 0 || 0 || 0
 +
|-
 +
| 0 || 0 || 0 || 1 || 0 || 0
 +
|-
 +
| 0 || 0 || 0 || 0 || 1 || 0
 +
|-
 +
| 0 || 0 || 0 || 0 || 0 || 1
 +
|}

Revision as of 10:13, 27 April 2015

MATRIX("IDENTITY",order)


  • is the order of the Identity matrix.

Description

  • This function gives the identity matrix of order 3.
  • The matrix is called identity matrix if a square matrix which has a 1 for each element on the main diagonal and 0 for all other elements.
  • Identity matrix is denoted by I_n or simply by I.
  • Identity matrix is also called as Unit matrix.
  • The identity matrix is the identity for matrix multiplication.
  • The form of identity matrices are

.......


Examples

  • 1.MATRIX("identity")
1 0 0
0 1 0
0 0 1
  • 2.MATRIX("identity",6)
1 0 0 0 0 0
0 1 0 0 0 0
0 0 1 0 0 0
0 0 0 1 0 0
0 0 0 0 1 0
0 0 0 0 0 1