G = gfanBuchberger(I)
G = gfanBuchberger(L)
G = gfanBuchberger(M)
This method computes a reduced Groebner basis of an ideal with respect to the lexicographic order (by default) or with respect to some weight vector if option w is specified. The output is a MarkedPolynomialList. The input can be given as an Ideal, List of polynomials, or MarkedPolynomialList. In the case of a MarkedPolynomialList, the marked terms are ignored.





Note that Macaulay 2 can compute Groebner bases with respect to given weights without using gfan.



gfan Documentation
This program computes a reduced lexicographic Groebner basis of the polynomial ideal given as input. The default behavior is to use Buchberger's algorithm. The ordering of the variables is $a>b>c...$ (assuming that the ring is Q[a,b,c,...]).
Options:
w:
Compute a Groebner basis with respect to a degree lexicographic order with $a>b>c...$ instead. The degrees are given by a weight vector which is read from the input after the generating set has been read.
r:
Use the reverse lexicographic order (or the reverse lexicographic order as a tie breaker if w is used). The input must be homogeneous if the pure reverse lexicographic order is chosen. Ignored if W is used.
W:
Do a Groebner walk. The input must be a minimal Groebner basis. If W is used w is ignored.
g:
Do a generic Groebner walk. The input must be homogeneous and must be a minimal Groebner basis with respect to the reverse lexicographic term order. The target term order is always lexicographic. The W option must be used.
parameters value:
With this option you can specify how many variables to treat as parameters instead of variables. This makes it possible to do computations where the coefficient field is the field of rational functions in the parameters.
The object gfanBuchberger is a method function with options.