Macaulay2 » Documentation
Packages » EliminationTemplates :: getTemplate
next | previous | forward | backward | up | index | toc

getTemplate -- construct the shifts and monomial partition for an elimination template

Description

This method is the core of the EliminationTemplates pipeline. It identifies the necessary polynomial shifts and partitions the resulting monomial support into three blocks:

* Excess: Monomials eliminated during the construction. * Residual: Monomials of the form $a \cdot b_i$ that are not in the basis. * Basis: The monomials spanning the quotient ring $R/I$.

If the action variable is a polynomial rather than a single variable, the method automatically performs a lift to the graph ring $R[s] / \langle s - a \rangle$.

i1 : R = QQ[x,y];
i2 : I = ideal(x^2-y, y^2-x);

o2 : Ideal of R
i3 : E = eliminationTemplate(x, I);
i4 : (sh, mp) = getTemplate(E, Strategy => "Greedy");
i5 : mp

        2     2    2
o5 = {{y }, {x y, x }, {x*y, x, y, 1}}

o5 : MonomialPartition

See also

Ways to use getTemplate:

  • getTemplate(EliminationTemplate)

For the programmer

The object getTemplate is a method function with options.


The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/EliminationTemplates.m2:871:0.