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.000198499 seconds elapsed
 -- 0.000228636 seconds elapsed
 -- 0.000201896 seconds elapsed
 -- 0.000133089 seconds elapsed
 -- 0.000239747 seconds elapsed
 -- 0.000197408 seconds elapsed
 -- 0.000100117 seconds elapsed
 -- 0.000221302 seconds elapsed
 -- 0.000211444 seconds elapsed
 -- 0.000206875 seconds elapsed
 -- 0.000237603 seconds elapsed
 -- 0.000194592 seconds elapsed
 -- 0.00009644 seconds elapsed
 -- 0.000234777 seconds elapsed
 -- 0.000195645 seconds elapsed
 -- 0.000103132 seconds elapsed
 -- 0.000243233 seconds elapsed
 -- 0.00020414 seconds elapsed
 -- 0.000110346 seconds elapsed
 -- 0.000285602 seconds elapsed
 -- 0.000267298 seconds elapsed
 -- 0.00009651 seconds elapsed
 -- 0.000269863 seconds elapsed
 -- 0.000269392 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: