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

Apply function to every element of matrix