RosettaCodeData/Task/Identity-matrix/GAP/identity-matrix.gap

6 lines
98 B
Text
Raw Permalink Normal View History

2014-01-17 05:32:22 +00:00
# Built-in
IdentityMat(3);
# One can also specify the base ring
IdentityMat(3, Integers mod 10);