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.000241177 seconds elapsed
 -- 0.000296546 seconds elapsed
 -- 0.000254146 seconds elapsed
 -- 0.000121327 seconds elapsed
 -- 0.000299431 seconds elapsed
 -- 0.000254307 seconds elapsed
 -- 0.000123607 seconds elapsed
 -- 0.000287225 seconds elapsed
 -- 0.000259493 seconds elapsed
 -- 0.000234667 seconds elapsed
 -- 0.00029271 seconds elapsed
 -- 0.000248438 seconds elapsed
 -- 0.000128085 seconds elapsed
 -- 0.000297348 seconds elapsed
 -- 0.000253548 seconds elapsed
 -- 0.000119605 seconds elapsed
 -- 0.000279616 seconds elapsed
 -- 0.000252708 seconds elapsed
 -- 0.000127753 seconds elapsed
 -- 0.000358188 seconds elapsed
 -- 0.000357778 seconds elapsed
 -- 0.000121566 seconds elapsed
 -- 0.000356403 seconds elapsed
 -- 0.000369961 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: