next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SubalgebraBases :: generators(SAGBIBasis)

generators(SAGBIBasis) -- Returns a partial sagbi generating set

Synopsis

Description

Returns the current list of sagbiGenerators of the underlying Subring. If the SAGBIBasis is not a complete sagbi basis (for example it is obtained from a partial computation) then the generators obtained from this command may not be a generating set for the original subring.

i1 : R = QQ[x,y];
i2 : S = subring {x*y, x^2*y, x^3*y};
i3 : gens S

o3 = | xy x2y x3y |

             1       3
o3 : Matrix R  <--- R
i4 : SB = sagbi(S, Limit => 3);
i5 : gens SB

o5 = | xy x2y |

             1       2
o5 : Matrix R  <--- R
i6 : isSAGBI S
 -- 0.000117698 seconds elapsed
 -- 0.000141915 seconds elapsed
 -- 0.000120772 seconds elapsed
 -- 0.00006325 seconds elapsed
 -- 0.000138095 seconds elapsed
 -- 0.000123007 seconds elapsed
 -- 0.000065991 seconds elapsed
 -- 0.000130902 seconds elapsed
 -- 0.000121275 seconds elapsed
 -- 0.000123714 seconds elapsed
 -- 0.000142617 seconds elapsed
 -- 0.000122746 seconds elapsed
 -- 0.000066748 seconds elapsed
 -- 0.000145952 seconds elapsed
 -- 0.00012196 seconds elapsed
 -- 0.00006439 seconds elapsed
 -- 0.000136074 seconds elapsed
 -- 0.00013241 seconds elapsed
 -- 0.000069637 seconds elapsed
 -- 0.000175899 seconds elapsed
 -- 0.000170315 seconds elapsed
 -- 0.000080175 seconds elapsed
 -- 0.000179887 seconds elapsed
 -- 0.000189013 seconds elapsed
timing raw subduction
timing raw subduction
timing raw subduction
timing raw subduction
timing raw subduction
timing raw subduction
timing raw subduction
timing raw subduction

o6 = true
i7 : isSAGBI SB

o7 = false

See also

Ways to use this method: