Macaulay2 » Documentation
Packages » Macaulay2Doc > rings > monoid > monoid(...,Inverses=>...)
next | previous | forward | backward | up | index | toc

monoid(...,Inverses=>...) -- allow negative exponents in monomials

Synopsis

Description

The optional argument Inverses specifies whether negative exponents will be allowed, making the monoid into a group. This option is mainly used by degreesMonoid and degreesRing functions to allow negative exponents in the monomials.

i1 : S = QQ[x,y, Inverses => true, MonomialOrder => Lex]

o1 = S

o1 : PolynomialRing
i2 : S_{1,-1} + S_{-1,1}

        -1    -1
o2 = x*y   + x  y

o2 : S

This option may also be used when creating a new ring from an existing ring, creating a tensor product ring, or symmetric algebra.

Further information

See also

Functions with optional argument named Inverses :