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.000196357 seconds elapsed
 -- 0.000227184 seconds elapsed
 -- 0.000204883 seconds elapsed
 -- 0.000103182 seconds elapsed
 -- 0.0002354 seconds elapsed
 -- 0.000210964 seconds elapsed
 -- 0.000111037 seconds elapsed
 -- 0.000223198 seconds elapsed
 -- 0.000205655 seconds elapsed
 -- 0.000210363 seconds elapsed
 -- 0.00023039 seconds elapsed
 -- 0.000196747 seconds elapsed
 -- 0.000104165 seconds elapsed
 -- 0.000243544 seconds elapsed
 -- 0.000200004 seconds elapsed
 -- 0.000111108 seconds elapsed
 -- 0.000236612 seconds elapsed
 -- 0.000201396 seconds elapsed
 -- 0.000102932 seconds elapsed
 -- 0.000274233 seconds elapsed
 -- 0.000282407 seconds elapsed
 -- 0.000105487 seconds elapsed
 -- 0.000276397 seconds elapsed
 -- 0.000296494 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: