map -package:base-compat -package:Cabal-syntax -package:base-prelude package:dense-linear-algebra

Apply function to every element of matrix