next | previous | forward | backward | up | top | index | toc | packages | 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.000156441 seconds elapsed
 -- 0.000147121 seconds elapsed
 -- 0.000172561 seconds elapsed
 -- 0.000083641 seconds elapsed
 -- 0.000161881 seconds elapsed
 -- 0.000146481 seconds elapsed
 -- 0.000082601 seconds elapsed
 -- 0.000151521 seconds elapsed
 -- 0.000141121 seconds elapsed
 -- 0.000152001 seconds elapsed
 -- 0.000145241 seconds elapsed
 -- 0.000136921 seconds elapsed
 -- 0.000086281 seconds elapsed
 -- 0.000198601 seconds elapsed
 -- 0.000152081 seconds elapsed
 -- 0.00008252 seconds elapsed
 -- 0.000160122 seconds elapsed
 -- 0.000142401 seconds elapsed
 -- 0.00008488 seconds elapsed
 -- 0.000220042 seconds elapsed
 -- 0.000184522 seconds elapsed
 -- 0.000080161 seconds elapsed
 -- 0.000213882 seconds elapsed
 -- 0.000188441 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: