next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: ProductOrder

ProductOrder -- product ordering

Description

ProductOrder{n1, ..., nr} -- an optional argument of MonomialOrder in monoids handled by the engine to indicate that the monomial order is the product of r graded reverse lex orders, each with n1, n2, ..., nr variables.

This syntax is left here for compatibility with previous Macaulay2 versions.

i1 : R = ZZ[a..e, MonomialOrder => ProductOrder {3,2}];
The new syntax is R = ZZ[a..e, MonomialOrder => {3,2}];.

See also

For the programmer

The object ProductOrder is a self initializing type, with ancestor classes BasicList < Thing.