up previous next
NC.UnsetRules

Sets the rewriting rules to empty set.
Syntax
          
NC.UnsetRules()

          

Description


Example
NC.SetX("xy");
NC.SetRules([["yx",[[1,"xy"], [1,""]]]]); -- yx=xy+1
NC.RingEnv();
Coefficient ring : Q
Alphabet : xy
Ordering : LLEX
Rules : [["yx", [[1, "xy"], [1, ""]]]]

-------------------------------
NC.UnsetRules();
NC.RingEnv();
Coefficient ring : Q
Alphabet : xy
Ordering : LLEX

-------------------------------


See Also