result = isCoherent L
We say that a matching field $\Lambda$ is coherent if it is induced by a weight matrix. Note that we use the minimum convention for weight matrices however for polynomial rings, the Weights option for MonomialOrder uses the maximum convention.
|
|
|
|
|
In the examples above, the matching fields are defined in terms of their tuples. To check whether the matching fields are coherent, the weight matrix cone is constructed, see the function weightMatrixCone. The matching field is coherent if and only if the weight matrix cone is full dimensional. If the matching field happens to be coherent, then an interior point is used for any further computations that require a weight matrix.
The object isCoherent is a method function.