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

Apply function to every element of matrix