Igb = ncGroebnerBasis I
|
|
|
|
|
|
Note that after the InstallGB flag is set, no checking is done to ensure that the input is in fact a Groebner basis.
|
|
|
|
|
|
If the InstallGB flag is not set, then a call to Bergman is made, if the base ring is QQ or a finite field of characteristic p. Otherwise, an error is raised.
Now we can do things with an ncgb, like compute normal forms (using the Bergman interface).
|
Or using the built in reduction code:
|
Calls to Bergman are usually faster, except for when the polynomial is small. See the documentation for NCRingElement % NCGroebnerBasis for details on controlling when Bergman is called.
The object ncGroebnerBasis is a method function with options.