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

Apply function to every element of matrix