map -package:base-compat-batteries -package:containers -package:foldl -package:ghc -package:monoidal-containers -package:charset package:dense-linear-algebra

Apply function to every element of matrix