Vocabularymath.
matricesInputsOutputsWord descriptionCreates an
identity matrix of size
n x n, where the diagonal values are all ones.
ExamplesUSING: math.matrices prettyprint ;
4 <identity-matrix> .
{ { 1 0 0 0 } { 0 1 0 0 } { 0 0 1 0 } { 0 0 0 1 } }
Definition