map -is:exact -package:ghc -package:base-compat -package:base-prelude package:dense-linear-algebra

Apply function to every element of matrix