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.000196016 seconds elapsed
 -- 0.000227654 seconds elapsed
 -- 0.000204451 seconds elapsed
 -- 0.000102299 seconds elapsed
 -- 0.000226904 seconds elapsed
 -- 0.000199172 seconds elapsed
 -- 0.000099485 seconds elapsed
 -- 0.00022027 seconds elapsed
 -- 0.000200864 seconds elapsed
 -- 0.000197187 seconds elapsed
 -- 0.000244415 seconds elapsed
 -- 0.000200253 seconds elapsed
 -- 0.000126416 seconds elapsed
 -- 0.000251198 seconds elapsed
 -- 0.000199653 seconds elapsed
 -- 0.000105617 seconds elapsed
 -- 0.000244215 seconds elapsed
 -- 0.00020356 seconds elapsed
 -- 0.000102351 seconds elapsed
 -- 0.000283619 seconds elapsed
 -- 0.0003168 seconds elapsed
 -- 0.000101539 seconds elapsed
 -- 0.000270634 seconds elapsed
 -- 0.000281415 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: