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.000120563 seconds elapsed
 -- 0.000142921 seconds elapsed
 -- 0.000125632 seconds elapsed
 -- 0.000061558 seconds elapsed
 -- 0.000140798 seconds elapsed
 -- 0.000119907 seconds elapsed
 -- 0.000062752 seconds elapsed
 -- 0.000130584 seconds elapsed
 -- 0.000127449 seconds elapsed
 -- 0.000126084 seconds elapsed
 -- 0.000141694 seconds elapsed
 -- 0.000125788 seconds elapsed
 -- 0.000068373 seconds elapsed
 -- 0.000143738 seconds elapsed
 -- 0.000126035 seconds elapsed
 -- 0.000066827 seconds elapsed
 -- 0.000143622 seconds elapsed
 -- 0.000131648 seconds elapsed
 -- 0.000068722 seconds elapsed
 -- 0.000165815 seconds elapsed
 -- 0.000181377 seconds elapsed
 -- 0.000071011 seconds elapsed
 -- 0.000171011 seconds elapsed
 -- 0.00018421 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: