M = gfanMarkPolynomialSet(L,W)
This method marks the leading terms a given polynomial list. The leading term of a polynomial is the term whose exponent vector has the largest dot product with W.


gfan Documentation
This program marks a set of polynomials with respect to the vector given at the end of the input, meaning that the largest terms are moved to the front. In case of a tie the lexicographic term order with $a>b>c...$ is used to break it.
Options:
The object gfanMarkPolynomialSet is a method function with options.