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.000252891 seconds elapsed
 -- 0.000275622 seconds elapsed
 -- 0.000246304 seconds elapsed
 -- 0.000112755 seconds elapsed
 -- 0.000269814 seconds elapsed
 -- 0.000237987 seconds elapsed
 -- 0.00011532 seconds elapsed
 -- 0.000258368 seconds elapsed
 -- 0.000238534 seconds elapsed
 -- 0.000212888 seconds elapsed
 -- 0.00026691 seconds elapsed
 -- 0.000234589 seconds elapsed
 -- 0.00011516 seconds elapsed
 -- 0.000273529 seconds elapsed
 -- 0.000234003 seconds elapsed
 -- 0.000118437 seconds elapsed
 -- 0.000267217 seconds elapsed
 -- 0.000238167 seconds elapsed
 -- 0.000107647 seconds elapsed
 -- 0.000310233 seconds elapsed
 -- 0.000341495 seconds elapsed
 -- 0.000108224 seconds elapsed
 -- 0.00029871 seconds elapsed
 -- 0.000347735 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: