constraints = findWeightConstraints(M, L)
|
|
|
|
|
|
|
|
|
|
|
|
TO BE FINISHED!! Note that the first generator listed for $M$ is $a^2$, and the first corresponding standard monomial is $a*c$. The difference of these two monomials exponent vectors is $(1,0,-1,0)$. This vector dotted with the weight vector $(2,2,1,1)$ gives the value $1$, which is the first value in the second list.
Note that the desired term ordering, and hence weight vector, may not exist. In this case, null is returned.
|
|
|
This command is used in the groebnerFamily routine.
The object findWeightConstraints is a method function.