#13723: Moving hamming_weight from sage.coding to sage.modules
-----------------------------+----------------------------------------------
Reporter: tfeulner | Owner: wdj
Type: enhancement | Status: new
Priority: minor | Milestone: sage-5.6
Component: coding theory | Keywords: Hamming weight, coding theory
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------------------------
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.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13723>
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.