subtable(u,v,m) -- yields the subtable of the table m obtained from the list u of row numbers and the list v of column numbers.
i1 : m = table(5,5,identity) |
i2 : subtable({1,3,4},toList(2..4), m) |
Code:
-- ../../../Macaulay2/m2/tables.m2:7 subtable = (u,v,m) -> table(u, v, (i,j)->m_i_j)