applyTable(m,f) -- applies the function f to each element of the table m.
It yields a table of the same shape as m containing the resulting values.
See also table.
Code:
-- ../../../Macaulay2/m2/tables.m2:5 applyTable = (m,f) -> apply(m, v -> apply(v,f))