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.000132039 seconds elapsed
 -- 0.000152582 seconds elapsed
 -- 0.000130004 seconds elapsed
 -- 0.000070361 seconds elapsed
 -- 0.000156972 seconds elapsed
 -- 0.000132836 seconds elapsed
 -- 0.000069441 seconds elapsed
 -- 0.000148652 seconds elapsed
 -- 0.000130508 seconds elapsed
 -- 0.000129465 seconds elapsed
 -- 0.000150767 seconds elapsed
 -- 0.000126495 seconds elapsed
 -- 0.000068281 seconds elapsed
 -- 0.000152232 seconds elapsed
 -- 0.000129769 seconds elapsed
 -- 0.000068808 seconds elapsed
 -- 0.000146068 seconds elapsed
 -- 0.000128821 seconds elapsed
 -- 0.000070473 seconds elapsed
 -- 0.000177189 seconds elapsed
 -- 0.000171421 seconds elapsed
 -- 0.000070646 seconds elapsed
 -- 0.000176521 seconds elapsed
 -- 0.000173087 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: