next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
StatePolytope :: initialIdeals

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)  
This is the Gfan program for computing Groebner fans and tropical varieties.
Use the command "gfan list" to view all subcommands.
The command "gfan" is deprecate for computing all Groebner bases of an ideal.
Please use subcommand "gfan _bases" instead. Awaiting input. <Ctrl>-D to end.
LP algorithm being used: "cddgmp".

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

o3 : List

Ways to use initialIdeals :