map -package:ghc -is:exact -package:base -package:charset is:exact package:dense-linear-algebra

Apply function to every element of matrix