map -package:containers -package:base-compat -package:imports -package:foldl -package:aeson -package:ghc -package:base -is:exact package:dense-linear-algebra

Apply function to every element of matrix