#18617: Implement polynomial number_of_terms method as alias of hamming_weight
-------------------------------------+-------------------------------------
Reporter: bruno | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-7.1
Component: commutative | Resolution:
algebra | Merged in:
Keywords: polynomial | Reviewers: Jeroen Demeyer
Authors: Bruno Grenet | Work issues:
Report Upstream: N/A | Commit:
Branch: | a1dfc1ed36945394200b87beb2857bc727d9896b
u/bruno/hamming_weight_number_of_terms| Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by jdemeyer):
* reviewer: => Jeroen Demeyer
Comment:
In the docstring for `number_of_terms`, mention with an example that
`hamming_weight` is an alias. Something like
{{{
The method :meth:`hamming_weight` is an alias::
sage: bla.hamming_weight()
42
}}}
If you do this and check that doctests pass, you can set this to
positive_review.
--
Ticket URL: <http://trac.sagemath.org/ticket/18617#comment:27>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.