up previous next
NC.UnsetRelations

Sets the relations of a rewriting system to an empty set, i.e. changes the current monoid ring to a free associative K-algebra.
Syntax
          
NC.UnsetRelations()

          

Description


Example
NC.SetX("xyz");
NC.SetRelations([["yx","xy"],["zx","xz"],["zy","yz"]]); -- yx=xy, zx=xz, zy=yz
NC.RingEnv();
Coefficient ring : Q
Alphabet : xyz
Ordering : LLEX
Relations : [["yx", "xy"], ["zx", "xz"], ["zy", "yz"]]

-------------------------------
NC.UnsetRelations();
NC.RingEnv();
Coefficient ring : Q
Alphabet : xyz
Ordering : LLEX

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


See Also