up previous next
NC.MRDeg

(Standard) degree of a polynomial over a finitely presented monoid ring.
Syntax
          
NC.MRDeg(X:STRING, Relations:LIST, F:LIST):INT

          

Description
Please note: The function(s) explained on this page is/are using the ApCoCoAServer. You will have to start the ApCoCoAServer in order to use it/them.

Example
X := "abc"; 
Relations := [["aa",""], ["bb",""], ["ab","c"], ["ac", "b"], ["cb", "a"]]; 
F := [[1,"a"],[2,"abc"],[3,"cc"]]; -- F = a+5cc
NC.MRDeg(X, Relations, F); 
2
-------------------------------
NC.MRAdd(X, "LLEX", Relations, F,[]);
[[5, "cc"], [1, "a"]]
-------------------------------
NC.MRDeg(X, Relations, []);
0
-------------------------------


See Also