up previous next
NC.SetRelations

Set relations for a finitely presented monoid ring.
Syntax
          
NC.SetRelations(Relations:LIST)

          

Description
Before calling the function, please set ring environment alphabet X through the functions NC.SetX. For more information, please check the relevant function.

Example
NC.RingEnv();
Coefficient ring : Q
Ordering : LLEX
-------------------------------
NC.SetX("abc");
Relations:=[["ba","ab"], ["ca","ac"], ["cb","bc"]]; --ba=ab, ca=ac, cb=bc
NC.SetRelations(Relations);
NC.RingEnv();
Coefficient ring : Q
Alphabet : abc
Ordering : LLEX
Relations : [["ba", "ab"], ["ca", "ac"], ["cb", "bc"]] -- relations generated by {ba=ab, ca=ac, cb=bc}
-------------------------------


See Also