We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4dca52 commit 891d472Copy full SHA for 891d472
src/comparison.jl
@@ -322,6 +322,7 @@ Returns the [`AbstractMonomialOrdering`](@ref) used for the monomials of `p`.
322
"""
323
function ordering end
324
325
+ordering(::Type{<:AbstractMonomial}) = Graded{LexOrder}
326
ordering(::Type{P}) where {P} = ordering(monomial_type(P))
327
ordering(p::AbstractPolynomialLike) = ordering(typeof(p))
328
0 commit comments