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

Apply function to every element of matrix