Macaulay2 » Documentation
Packages » StatePolytope :: initialIdeals
next | previous | forward | backward | up | index | toc

initialIdeals -- calls gfan and returns the list of initial ideals

Synopsis

Description

Given an ideal I in M2, this function calls gfan and returns the list of initial ideals of I.
i1 : R = QQ[a,b];
i2 : I = ideal(a^2+b^2,a*b);

o2 : Ideal of R
i3 : initialIdeals(I)  

             2   3     3        2
o3 = {{a*b, a , b }, {a , a*b, b }}

o3 : List

Ways to use initialIdeals :

For the programmer

The object initialIdeals is a method function.