up previous next
NCo.SetRelations

Set relations for a finitely presented monoid ring.
Syntax
          
NCo.SetRelations(R:LIST)

          

Description
Before calling the function, please set ring environment alphabet (or set of indeterminates) X through the functions NCo.SetX. For more information, please check the relevant functions.

Example
NCo.RingEnv();
Coefficient ring : Q
Ordering : LLEX
-------------------------------
NCo.SetX("abc");
R:=[["ba","ab"], ["ca","ac"], ["cb","bc"]]; --ba=ab, ca=ac, cb=bc
NCo.SetRelations(R);
NCo.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