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.000106753 seconds elapsed
 -- 0.000117912 seconds elapsed
 -- 0.000105739 seconds elapsed
 -- 0.000056578 seconds elapsed
 -- 0.000130816 seconds elapsed
 -- 0.000112383 seconds elapsed
 -- 0.000057288 seconds elapsed
 -- 0.000123785 seconds elapsed
 -- 0.000144983 seconds elapsed
 -- 0.000106711 seconds elapsed
 -- 0.000125937 seconds elapsed
 -- 0.000106101 seconds elapsed
 -- 0.000080823 seconds elapsed
 -- 0.000135316 seconds elapsed
 -- 0.000122641 seconds elapsed
 -- 0.000055093 seconds elapsed
 -- 0.000119405 seconds elapsed
 -- 0.000110168 seconds elapsed
 -- 0.000055505 seconds elapsed
 -- 0.000150365 seconds elapsed
 -- 0.000158359 seconds elapsed
 -- 0.000054193 seconds elapsed
 -- 0.000165563 seconds elapsed
 -- 0.000156896 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: