#13723: Moving hamming_weight from sage.coding to sage.modules
-------------------------------------------------+--------------------------
Reporter: tfeulner | Owner: wdj
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.6
Component: coding theory | Resolution:
Keywords: Hamming weight, coding theory | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Thomas Feulner | Merged in:
Dependencies: | Stopgaps:
-------------------------------------------------+--------------------------
Changes (by {'newvalue': u'Thomas Feulner', 'oldvalue': ''}):
* status: new => needs_review
* author: => Thomas Feulner
Old description:
> Hamming weights are defined in sage.coding.linear_codes for vectors. This
> is the wrong place, since we can not use the implementation specific
> structure of a vector, for example in the binary case.
>
> This patch adds a function hamming_weight to the class
> sage.modules.free_module_element.FreeModuleElement and deprecates
> sage.coding.linear_codes.hamming_weight.
New description:
Hamming weights are defined in sage.coding.linear_codes for vectors. This
is the wrong place, since we can not use the implementation specific
structure of a vector, for example in the binary case.
This patch adds a function hamming_weight to the class
sage.modules.free_module_element.FreeModuleElement and deprecates
sage.coding.linear_codes.hamming_weight.
----
Apply only: trac_13723-hamming_weight.patch
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13723#comment:4>
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.