RosettaCodeData/Task/Identity-matrix/GAP/identity-matrix.gap
2014-01-17 05:34:36 +00:00

5 lines
98 B
Text

# Built-in
IdentityMat(3);
# One can also specify the base ring
IdentityMat(3, Integers mod 10);