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.000141337 seconds elapsed
 -- 0.000133771 seconds elapsed
 -- 0.000174577 seconds elapsed
 -- 0.000069821 seconds elapsed
 -- 0.000150943 seconds elapsed
 -- 0.000116369 seconds elapsed
 -- 0.000086153 seconds elapsed
 -- 0.000142828 seconds elapsed
 -- 0.000110988 seconds elapsed
 -- 0.000177574 seconds elapsed
 -- 0.000142548 seconds elapsed
 -- 0.00011735 seconds elapsed
 -- 0.000067036 seconds elapsed
 -- 0.000170351 seconds elapsed
 -- 0.000113533 seconds elapsed
 -- 0.000099107 seconds elapsed
 -- 0.000163617 seconds elapsed
 -- 0.000113213 seconds elapsed
 -- 0.000087885 seconds elapsed
 -- 0.000194977 seconds elapsed
 -- 0.000160812 seconds elapsed
 -- 0.000065142 seconds elapsed
 -- 0.000176211 seconds elapsed
 -- 0.000172374 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: