map -package:containers -package:base-prelude -package:ghc -package:imports -package:aeson -package:charset -package:base -is:exact package:dense-linear-algebra is:exact

Apply function to every element of matrix