map -package:ghc -package:base is:exact -package:dlist -package:foldl package:dense-linear-algebra

Apply function to every element of matrix