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.00618752 seconds elapsed
 -- 0.00711582 seconds elapsed
 -- 0.00663082 seconds elapsed
 -- 0.00393701 seconds elapsed
 -- 0.00888572 seconds elapsed
 -- 0.00795742 seconds elapsed
 -- 0.0017084 seconds elapsed
 -- 0.00469471 seconds elapsed
 -- 0.00415641 seconds elapsed
 -- 0.00569971 seconds elapsed
 -- 0.00867092 seconds elapsed
 -- 0.00706302 seconds elapsed
 -- 0.0017364 seconds elapsed
 -- 0.00632781 seconds elapsed
 -- 0.00534851 seconds elapsed
 -- 0.0017464 seconds elapsed
 -- 0.00565421 seconds elapsed
 -- 0.00423371 seconds elapsed
 -- 0.0019604 seconds elapsed
 -- 0.00633551 seconds elapsed
 -- 0.00861062 seconds elapsed
 -- 0.0016286 seconds elapsed
 -- 0.00521881 seconds elapsed
 -- 0.00581211 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: