next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc > rings > monomial orderings > GLex

GLex -- graded lexicographic ordering

Description

The option GLex => n is a shortcut for Weights => n:1, Lex=>n in creating a monomial ordering
i1 : R = QQ[a..d,MonomialOrder=>GLex]

o1 = R

o1 : PolynomialRing
i2 : a^3*b+a^4+b^100

      100    4    3
o2 = b    + a  + a b

o2 : R

See also

For the programmer

The object GLex is a symbol.