Macaulay2 » Documentation
Packages » SubalgebraBases :: ModifySAGBIBasis
next | previous | forward | backward | up | index | toc

ModifySAGBIBasis -- Flag for allowing the cached computation object to be modified

Description

When isSAGBI is supplied a subring $S$, then this option determines whether the cached instance of a SAGBIBasis may be replaced.

i1 : R = QQ[x,y];
i2 : S = subring {x^2, y^3};
i3 : SB = sagbi(S, Limit => 2);
i4 : S.cache#SAGBIBasis === SB

o4 = true
i5 : isSAGBI(S, ModifySAGBIBasis => false)

o5 = true
i6 : S.cache#SAGBIBasis === SB

o6 = true
i7 : isSAGBI(S, ModifySAGBIBasis => true)

o7 = true
i8 : S.cache#SAGBIBasis === SB

o8 = false

See also

Functions with optional argument named ModifySAGBIBasis :

For the programmer

The object ModifySAGBIBasis is a symbol.