map -package:aeson -package:base-compat -package:base-prelude is:exact package:dense-linear-algebra

Apply function to every element of matrix