map -package:base-compat -package:ghc -package:aeson package:dense-linear-algebra

Apply function to every element of matrix