up previous next
NC.GAdd

Addition of two polynomials in a free group ring over F2.
Syntax
          
NC.GAdd(F1:LIST, F2:LIST):LIST

          

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.

Please set ring environment alphabet (or set of indeterminates) X and admissible ordering via the functions NC.SetX and NC.SetOrdering, respectively, before calling the function. The default ordering is length-lexicographic ordering ("LLEX"). For more information, please check the relevant functions.

Example
NC.SetX("xX");
NC.SetOrdering("LLEX");
F1:=["xX",""];
F2:=["Xx",""];
NC.GAdd(F1,F2);
["xX", "Xx"]
-------------------------------
NC.GAdd(F1,F1);
[ ]
-------------------------------
NC.GAdd([],F1);
["xX", ""]
-------------------------------


See Also