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.000096401 seconds elapsed
 -- 0.00011521 seconds elapsed
 -- 0.000103592 seconds elapsed
 -- 0.00005502 seconds elapsed
 -- 0.000122251 seconds elapsed
 -- 0.000107031 seconds elapsed
 -- 0.00005428 seconds elapsed
 -- 0.000113511 seconds elapsed
 -- 0.000103411 seconds elapsed
 -- 0.000100592 seconds elapsed
 -- 0.000120861 seconds elapsed
 -- 0.000100929 seconds elapsed
 -- 0.00005647 seconds elapsed
 -- 0.000125271 seconds elapsed
 -- 0.000100681 seconds elapsed
 -- 0.00007348 seconds elapsed
 -- 0.000115531 seconds elapsed
 -- 0.000099811 seconds elapsed
 -- 0.00005711 seconds elapsed
 -- 0.000157962 seconds elapsed
 -- 0.000145621 seconds elapsed
 -- 0.00005534 seconds elapsed
 -- 0.000145242 seconds elapsed
 -- 0.000393503 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: