Eye
Description
Eye returns the identity matrix, which can be useful in linear algebra expressions.
Syntax
Eye(n) returns the square identity matrix.
Example

Source Code
Eye = LAMBDA(n, // size (rows/columns) of the output square matrix
MAKEARRAY(n, n, LAMBDA(numrows, numcols, IF(numrows = numcols, 1, 0)))
);