up
previous
next
IdentityMat
the identity matrix
Syntax
IdentityMat(R:RING, N:INT):MAT
Description
This function returns the NxN identity matrix.
Example
/**/ IdentityMat(QQ,3); matrix([ [1, 0, 0], [0, 1, 0], [0, 0, 1] ])