map -package:basement -package:base-compat -package:Cabal-syntax package:dense-linear-algebra

Apply function to every element of matrix