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.000243556 seconds elapsed
 -- 0.000293641 seconds elapsed
 -- 0.000262959 seconds elapsed
 -- 0.000142185 seconds elapsed
 -- 0.000304543 seconds elapsed
 -- 0.000273474 seconds elapsed
 -- 0.000124604 seconds elapsed
 -- 0.000273679 seconds elapsed
 -- 0.000271539 seconds elapsed
 -- 0.000253222 seconds elapsed
 -- 0.000287591 seconds elapsed
 -- 0.000260967 seconds elapsed
 -- 0.000128924 seconds elapsed
 -- 0.000304083 seconds elapsed
 -- 0.000267129 seconds elapsed
 -- 0.000134555 seconds elapsed
 -- 0.000298922 seconds elapsed
 -- 0.00027543 seconds elapsed
 -- 0.000133989 seconds elapsed
 -- 0.000348273 seconds elapsed
 -- 0.000361309 seconds elapsed
 -- 0.000126394 seconds elapsed
 -- 0.000348197 seconds elapsed
 -- 0.000372925 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: