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.000239162 seconds elapsed
 -- 0.000174922 seconds elapsed
 -- 0.000155801 seconds elapsed
 -- 0.000096601 seconds elapsed
 -- 0.000221042 seconds elapsed
 -- 0.000156321 seconds elapsed
 -- 0.000090961 seconds elapsed
 -- 0.000184241 seconds elapsed
 -- 0.000173561 seconds elapsed
 -- 0.000219681 seconds elapsed
 -- 0.000163242 seconds elapsed
 -- 0.000157201 seconds elapsed
 -- 0.000092161 seconds elapsed
 -- 0.000192562 seconds elapsed
 -- 0.000151482 seconds elapsed
 -- 0.000095841 seconds elapsed
 -- 0.000209322 seconds elapsed
 -- 0.000149121 seconds elapsed
 -- 0.000109601 seconds elapsed
 -- 0.000230842 seconds elapsed
 -- 0.000233401 seconds elapsed
 -- 0.000094001 seconds elapsed
 -- 0.000252642 seconds elapsed
 -- 0.000223522 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: