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

Apply function to every element of matrix