We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
How to make identity matrix:
> (import (otus algebra)) > (Index (Matrix 7 7) (lambda (x y) (if (= x y) 1 0))) #(#(1 0 0 0 0 0 0) #(0 1 0 0 0 0 0) #(0 0 1 0 0 0 0) #(0 0 0 1 0 0 0) #(0 0 0 0 1 0 0) #(0 0 0 0 0 1 0) #(0 0 0 0 0 0 1))