map -package:charset -package:ghc -package:Cabal-syntax -package:foldl package:dense-linear-algebra

Apply function to every element of matrix