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.000150418 seconds elapsed
 -- 0.000182732 seconds elapsed
 -- 0.000147635 seconds elapsed
 -- 0.000077039 seconds elapsed
 -- 0.000202002 seconds elapsed
 -- 0.000158248 seconds elapsed
 -- 0.00007504 seconds elapsed
 -- 0.00016418 seconds elapsed
 -- 0.000143622 seconds elapsed
 -- 0.00014715 seconds elapsed
 -- 0.000186885 seconds elapsed
 -- 0.000152386 seconds elapsed
 -- 0.000079359 seconds elapsed
 -- 0.000179561 seconds elapsed
 -- 0.000152587 seconds elapsed
 -- 0.000078771 seconds elapsed
 -- 0.000169056 seconds elapsed
 -- 0.000156642 seconds elapsed
 -- 0.000079019 seconds elapsed
 -- 0.000216769 seconds elapsed
 -- 0.000215636 seconds elapsed
 -- 0.000077807 seconds elapsed
 -- 0.000213225 seconds elapsed
 -- 0.000216261 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: