previous  next
Identity
Syntax
Identity(N:INT):MAT
Summary
the identity matrix
Description
This function returns the NxN identity matrix.

Example

Identity(3);
Mat[
  [1, 0, 0],
  [0, 1, 0],
  [0, 0, 1]
]
-------------------------------