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

monoid(...,Heft=>...) -- specify a heft vector



The Heft option can be used to provide a heft vector as a list of integers such that the dot product with the degree of each variable will be positive. This is used as a computational aid in certain routines. If no value for this option is specified, one will be computed automatically if possible, hence there is no need to provide one unless the time spent computing one is onerous; if no heft vector exists, certain computations will not be supported, and others may take more time.

i1 : R = ZZ[x,y, Degrees => {-1,-2}, Heft => {-1}]

o1 = R

o1 : PolynomialRing

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 Heft :