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

Apply function to every element of matrix