#11847: unexpexted behavior of degree() with matrix ordering
-----------------------------------+----------------------------------------
Reporter: john_perry | Owner: malb
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7.2
Component: commutative algebra | Keywords: degree, polynomial,
singular
Work_issues: | Upstream: Not yet reported
upstream; Will do shortly.
Reviewer: | Author: john_perry
Merged: | Dependencies: sage 4.7.2
-----------------------------------+----------------------------------------
Comment(by klee):
Two cooments:
I don't see natural use cases for total_degree_ungraded() when one use
non-default grading with a polynomial ring. If one need such a method for
(I think) a very rare case, s/he can define it just for the case. The name
is also confusing.
On the other hand, exponent(x) method, which Maarten suggested, would be
useful and essential. Moreover you can make exponent() to return the sum
of all exponents of the variables in the monomial, making
total_degree_ungraded() redundant. Like degree() method, if exponent(x) or
exponent() method is applied for a polynomial rather than a monomial, then
the highest of the values for all monomials may be returned.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11847#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.