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.0051936 seconds elapsed
 -- 0.0063178 seconds elapsed
 -- 0.0065444 seconds elapsed
 -- 0.0033201 seconds elapsed
 -- 0.0099947 seconds elapsed
 -- 0.007562 seconds elapsed
 -- 0.0019552 seconds elapsed
 -- 0.0059516 seconds elapsed
 -- 0.0050574 seconds elapsed
 -- 0.0071964 seconds elapsed
 -- 0.0097819 seconds elapsed
 -- 0.0095244 seconds elapsed
 -- 0.0041759 seconds elapsed
 -- 0.0112777 seconds elapsed
 -- 0.0095545 seconds elapsed
 -- 0.002062 seconds elapsed
 -- 0.01049 seconds elapsed
 -- 0.0088254 seconds elapsed
 -- 0.0040802 seconds elapsed
 -- 0.012036 seconds elapsed
 -- 0.0129816 seconds elapsed
 -- 0.0025018 seconds elapsed
 -- 0.0069382 seconds elapsed
 -- 0.007084 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: