#18617: Implement polynomial number_of_terms method (and deprecate
hamming_weight)
-------------------------------------+-------------------------------------
Reporter: bruno | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.8
Component: commutative | Resolution:
algebra | Merged in:
Keywords: polynomial | Reviewers:
Authors: Bruno Grenet | Work issues:
Report Upstream: N/A | Commit:
Branch: | aec2c54b8772c569457114db115a6faad66c84c8
u/bruno/hamming_weight_number_of_terms| Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by klee):
When we say the number of terms, we think of the vector of the
coefficients. For the vector, the Hamming weight is a well-established
concept in coding theory, and spreading to other areas. So I think the
method name `hamming_weight` is well chosen. For a user, `number_of_terms`
may be more intuitive, but it would not hurt and indeed be beneficial to
learn a mathematical term (no pun intended).
Aside, in the history of Sage, coding theory played some role. The method
name seems to be one aspect of the heritage.
--
Ticket URL: <http://trac.sagemath.org/ticket/18617#comment:16>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.