map -package:text -package:base -package:base-compat -package:charset -package:Cabal-syntax -package:containers package:dense-linear-algebra

Apply function to every element of matrix