map -package:containers -package:ghc -package:foldl is:exact -package:base -package:insert-ordered-containers package:dense-linear-algebra

Apply function to every element of matrix