map -package:base -package:Cabal-syntax -is:exact -is:exact package:dense-linear-algebra is:exact

Apply function to every element of matrix