up previous next
NC.GSubtract

Subtraction of two polynomials in a free group ring over F2.
Syntax
          
NC.GSubtract(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 indeterminates) X and ordering through the functions NC.SetX(X) and NC.SetOrdering(Ordering), respectively, before calling the function. 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.GSubtract(F1,F2);

["xX", "Xx"]
-------------------------------
-- Done.
-------------------------------
NC.GSubtract(F1,F1);

[ ]
-------------------------------
-- Done.
-------------------------------
NC.GSubtract([],F1);

["xX", ""]
-------------------------------
-- Done.
-------------------------------


See Also