Macaulay2 » Documentation
Packages » Macaulay2Doc » rings » polynomial rings » monomial orderings » ProductOrder
next | previous | forward | backward | up | index | toc

# ProductOrder -- product ordering

## Description

ProductOrder{n1, ..., nr} -- an optional argument of MonomialOrder 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

- definition of product (block) orders

## For the programmer

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

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Macaulay2Doc/ov_monomial_orderings.m2:574:0.