RosettaCodeData/Task/Identity-matrix/GAP/identity-matrix.gap
2023-07-01 13:44:08 -04:00

5 lines
98 B
Text

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