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.000200577 seconds elapsed
 -- 0.00018157 seconds elapsed
 -- 0.000168771 seconds elapsed
 -- 0.000106216 seconds elapsed
 -- 0.000195928 seconds elapsed
 -- 0.000167593 seconds elapsed
 -- 0.000098887 seconds elapsed
 -- 0.000193234 seconds elapsed
 -- 0.000162927 seconds elapsed
 -- 0.000190528 seconds elapsed
 -- 0.000201031 seconds elapsed
 -- 0.000164444 seconds elapsed
 -- 0.000095312 seconds elapsed
 -- 0.000197683 seconds elapsed
 -- 0.000166985 seconds elapsed
 -- 0.000095303 seconds elapsed
 -- 0.00019411 seconds elapsed
 -- 0.000155689 seconds elapsed
 -- 0.000099539 seconds elapsed
 -- 0.00022365 seconds elapsed
 -- 0.000248149 seconds elapsed
 -- 0.000090853 seconds elapsed
 -- 0.000231285 seconds elapsed
 -- 0.000219388 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: