map -package:Cabal-syntax -package:base -package:ghc -package:case-insensitive -is:exact -package:charset package:dense-linear-algebra is:exact

Apply function to every element of matrix