Identity Matrix

[email protected] Sat, 11 Aug 2018 19:24:04 +0200
Newsgroups gmane.comp.mathematics.axiom.general
Message-ID <[email protected]>
Hi,

is there a command / "shortcut" for creating the identity matrix of a certain size?
Or is it necessary to use the matrix()-command and set all the values on the diagoanl to one and all others to zero?

Would be much easier, if there is something like identitiymatrix(3),
which would make a 3x3 identity-matrix.

any ideas?

TIA,
  pan.