map -package:case-insensitive -package:base-compat-batteries package:dense-linear-algebra

Apply function to every element of matrix