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.000115597 seconds elapsed
 -- 0.000129374 seconds elapsed
 -- 0.000116911 seconds elapsed
 -- 0.000060443 seconds elapsed
 -- 0.00015359 seconds elapsed
 -- 0.000121759 seconds elapsed
 -- 0.000059112 seconds elapsed
 -- 0.000130446 seconds elapsed
 -- 0.000110959 seconds elapsed
 -- 0.000125727 seconds elapsed
 -- 0.000136327 seconds elapsed
 -- 0.000133312 seconds elapsed
 -- 0.000073459 seconds elapsed
 -- 0.000136106 seconds elapsed
 -- 0.000109526 seconds elapsed
 -- 0.000056747 seconds elapsed
 -- 0.000146727 seconds elapsed
 -- 0.000108024 seconds elapsed
 -- 0.000061787 seconds elapsed
 -- 0.000156676 seconds elapsed
 -- 0.000165091 seconds elapsed
 -- 0.00005802 seconds elapsed
 -- 0.000761076 seconds elapsed
 -- 0.000196881 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: