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

Apply function to every element of matrix