map -package:dlist -package:bytestring -package:Cabal-syntax package:dense-linear-algebra -is:exact

Apply function to every element of matrix