up previous next
NCo.Deg

The standard degree of a polynomial in a free monoid ring.
Syntax
          
NCo.Deg(F:LIST):INT

          

Description
Please set ring environment alphabet (or set of indeterminates) X via the function NCo.SetX before using this function. For more information, please check the relevant functions.

Example
NCo.SetX("abc");
F:=[[1,"ab"],[2,"aa"],[3,"bb"],[4,"bab"]];
NCo.Deg(F);
3
-------------------------------
NCo.Deg([]); -- 0 polynomial
0
-------------------------------


See Also