Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

IntegerVectors do that. E.g. IntegerVectors(2,2).list() give [[2, 0], [1, 1], [0, 2]] as requested.