F = copyTemplate(E, J)This method copies an elimination template object, using the same action variable and basis, but a different defining ideal. The new ideal is expected to share the Groebner-basis structure of the original (same leading monomials, same |B|) — this is the specialization regime of copyTemplate. Note (possible typo in an earlier draft of this docstring): the example below originally paired I = ideal(x^4+x*y+y^2-3, x^2*y+y^3-2) with J = ideal(x^3+y^2-1, x^2+y^3-1), which violates this requirement — deg(R/I) = 12 but deg(R/J) = 9, so no single template can serve both. The example below uses a structurally-compatible replacement J.
|
|
|
|
|
The object copyTemplate 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:987:0.