Macaulay2 » Documentation
Packages » SubalgebraBases :: sagbiDegree
next | previous | forward | backward | up | index | toc

sagbiDegree -- The current degree of the subalgebra bases computation

Synopsis

Description

Returns the current degree of the computation stored in a SAGBIBasis. When the computation is resumed (without restarting) then the algorithm will pick up at this degree. The degree may drop during the computation.

i1 : R = QQ[x,y];
i2 : S = subring{x+y,x*y,x*y^2,x*y^5+y};
i3 : T = sagbiBasis S;
i4 : sagbiDegree T

o4 = -1
i5 : sagbiDegree sagbi(S,Limit=>5)

o5 = 6
i6 : sagbiDegree sagbi(S,Limit=>20)

o6 = 7
i7 : isSAGBI(S,UseSubringGens=>false)

o7 = true

See also

Ways to use sagbiDegree :

For the programmer

The object sagbiDegree is a method function.