next | previous | forward | backward | up | top | index | toc | home
Macaulay2 > The Macaulay2 language > lists and sequences > table

table -- make a table (nested list)

Description

table(u,v,f) -- yields a table m in which m_i_j is f(u_i,v_j).

A table is a list of lists, all of the same length. The entry m_i_j is computed as f(u_i,v_j).

table(m,n,f) -- yields, when m and n are integers, a table of size m by n whose entries are obtained by evaluating f() repeatedly.

See also isTable, and subtable.