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.000158788 seconds elapsed
 -- 0.000194609 seconds elapsed
 -- 0.000170004 seconds elapsed
 -- 0.000090975 seconds elapsed
 -- 0.000209779 seconds elapsed
 -- 0.000168662 seconds elapsed
 -- 0.000094273 seconds elapsed
 -- 0.000198889 seconds elapsed
 -- 0.000176509 seconds elapsed
 -- 0.000185381 seconds elapsed
 -- 0.000228124 seconds elapsed
 -- 0.000176462 seconds elapsed
 -- 0.0000877 seconds elapsed
 -- 0.000215887 seconds elapsed
 -- 0.000177371 seconds elapsed
 -- 0.000089555 seconds elapsed
 -- 0.000206621 seconds elapsed
 -- 0.00017816 seconds elapsed
 -- 0.000092145 seconds elapsed
 -- 0.000246415 seconds elapsed
 -- 0.000243608 seconds elapsed
 -- 0.000091468 seconds elapsed
 -- 0.00024604 seconds elapsed
 -- 0.000242308 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: