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

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.