map -package:base -package:base-compat-batteries -package:ghc is:exact package:dense-linear-algebra

Apply function to every element of matrix