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

Compute -- Flag for performing computations while checking the completeness of a subalgebra basis

Description

A flag that determines whether additional computations may be performed. When the flag is set to false, the function being called only uses the results of prior computations, if they have been stored. When previous computations have not been performed, the function usually returns null.

When the flag is set to true, additional computations will be performed if the prior computations are insufficient.

i1 : R = QQ[x,y];
i2 : S = subring{x+y,x*y};
i3 : isSAGBI(S,Compute=>false)
i4 : isSAGBI(S,Compute=>true)

o4 = true
i5 : sagbi S;
i6 : isSAGBI(S,Compute=>false)

o6 = true

See also

Functions with optional argument named Compute:

For the programmer

The object Compute is a symbol.