Table of Contents
This is an old revision of the document!
Identity
Matrix.Identity(n) returns an identity matrix of size $n\times n$.
Example
Input
- Example.Quanty
print(Matrix.Identity(3))
Result
{ { 1 , 0 , 0 } , { 0 , 1 , 0 } , { 0 , 0 , 1 } }