up previous next
Leading coefficient of a polynomial in a free group ring over
F2.
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.
- @param F: a polynomial in a free group ring over F2. Each polynomial is represented as a LIST of words (or terms). Each term is represented as a STRING. For example, xy^2x is represented as "xyyx", unit is represented as an empty string "". Then, polynomial F=xy-y+1 is represented as F:=["xy", "y", ""]. 0 polynomial is represented as an empty LIST [].
- @return: a INT which represents a leading coefficient of F. Especially, the function returns 1 if F is not 0, and returns 0 otherwise.