map -package:aeson -package:base-prelude -package:base package:dense-linear-algebra

Apply function to every element of matrix