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.000168704 seconds elapsed
 -- 0.000210525 seconds elapsed
 -- 0.000172766 seconds elapsed
 -- 0.000092616 seconds elapsed
 -- 0.000199795 seconds elapsed
 -- 0.000175937 seconds elapsed
 -- 0.000098891 seconds elapsed
 -- 0.000187475 seconds elapsed
 -- 0.00016775 seconds elapsed
 -- 0.000169468 seconds elapsed
 -- 0.000208015 seconds elapsed
 -- 0.000175767 seconds elapsed
 -- 0.000095379 seconds elapsed
 -- 0.000219056 seconds elapsed
 -- 0.000178666 seconds elapsed
 -- 0.000092324 seconds elapsed
 -- 0.000205884 seconds elapsed
 -- 0.000179817 seconds elapsed
 -- 0.000098656 seconds elapsed
 -- 0.000241243 seconds elapsed
 -- 0.000231259 seconds elapsed
 -- 0.000099073 seconds elapsed
 -- 0.00024691 seconds elapsed
 -- 0.00023915 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: