Macaulay2 » Documentation
Packages » Macaulay2Doc » ideals » Ideal » leadTerm(ZZ,Ideal)
next | previous | forward | backward | up | index | toc

leadTerm(ZZ,Ideal) -- get the ideal of lead polynomials

Description

Compute a Gröbner basis and return the ideal generated by the lead terms of the Gröbner basis elements using the first n.
i1 : R = QQ[a..d,MonomialOrder=>ProductOrder{1,3}];
i2 : I = ideal(a*b-c*d, a*c-b*d)

o2 = ideal (a*b - c*d, a*c - b*d)

o2 : Ideal of R
i3 : leadTerm(1,I)

             2     2
o3 = ideal (b d - c d, a*c, a*b)

o3 : Ideal of R

Ways to use this method:


The source of this document is in Macaulay2Doc/doc7.m2:130:0.