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.00011044 seconds elapsed
 -- 0.000126603 seconds elapsed
 -- 0.000112726 seconds elapsed
 -- 0.00005909 seconds elapsed
 -- 0.000127251 seconds elapsed
 -- 0.000112883 seconds elapsed
 -- 0.000058541 seconds elapsed
 -- 0.000120969 seconds elapsed
 -- 0.000119159 seconds elapsed
 -- 0.000110945 seconds elapsed
 -- 0.000125936 seconds elapsed
 -- 0.000112715 seconds elapsed
 -- 0.000058155 seconds elapsed
 -- 0.000127418 seconds elapsed
 -- 0.00011352 seconds elapsed
 -- 0.000059648 seconds elapsed
 -- 0.000122969 seconds elapsed
 -- 0.000111257 seconds elapsed
 -- 0.000060693 seconds elapsed
 -- 0.000151728 seconds elapsed
 -- 0.000158587 seconds elapsed
 -- 0.000058199 seconds elapsed
 -- 0.000149991 seconds elapsed
 -- 0.00015812 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: