Difference between revisions of "Manuals/calci/EYE"
Jump to navigation
Jump to search
| Line 25: | Line 25: | ||
0 & 0 &0 & \cdots & 1 | 0 & 0 &0 & \cdots & 1 | ||
\end{bmatrix}</math> | \end{bmatrix}</math> | ||
| + | |||
| + | |||
| + | ==Examples== | ||
| + | # EYE(1) =1 | ||
| + | #EYE(2) | ||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | | 1 || 0 | ||
| + | |- | ||
| + | | 0 || 1 | ||
| + | |} | ||
| + | #EYE(5) | ||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | | 1 || 0 || 0 || 0 || 0 | ||
| + | |- | ||
| + | | 0 || 1 || 0 || 0 ||0 | ||
| + | |- | ||
| + | | 0 || 0 || 1|| 0 || 0 | ||
| + | |- | ||
| + | | 0 || 0 || 0 || 1 || 0 | ||
| + | |- | ||
| + | | 0 || 0 || 0 || 0 ||1 | ||
| + | |} | ||
| + | |||
| + | ==See Also== | ||
| + | *[[Manuals/calci/MATRIXIDENTITY| MATRIXIDENTITY]] | ||
| + | *[[Manuals/calci/MATRIXOPERATORS| MATRIXOPERATORS]] | ||
| + | |||
| + | ==References== | ||
| + | *[https://en.wikipedia.org/wiki/Identity_matrix Identity] | ||
| + | |||
| + | |||
| + | *[[Z_API_Functions | List of Main Z Functions]] | ||
| + | *[[ Z3 | Z3 home ]] | ||
Revision as of 13:36, 6 June 2017
EYE (Number)
- is the order of the matrix.
Description
- This function shows the identity matrix of a given order.
- In , is the order of a identity matrix.
- Identity matrix is also called Unit matrix.
- Identity matrix of size n is the nxn square matrix with ones on the main diagonal and zeros on the other entries.
- Identity matrix is denoted by:
, , ......
Examples
- EYE(1) =1
- EYE(2)
| 1 | 0 |
| 0 | 1 |
- EYE(5)
| 1 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 | 0 |
| 0 | 0 | 0 | 1 | 0 |
| 0 | 0 | 0 | 0 | 1 |
See Also
References