map -package:Cabal-syntax -is:exact -package:base-compat package:dense-linear-algebra -is:exact

Apply function to every element of matrix