map -package:containers -package:base-compat -package:charset -is:exact -package:imports -package:Cabal-syntax package:dense-linear-algebra -is:exact

Apply function to every element of matrix