#4495: [with algorithm, needs implementation] weight distribution for binary
codes
---------------------+------------------------------------------------------
Reporter: rlm | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone:
Component: algebra | Keywords:
---------------------+------------------------------------------------------
Using Robert Bradshaw's bitsets, which include hamming weight functions,
it should be trivial to implement a weight distribution algorithm for
binary codes in pure Cython.
Essential ingredients:
1. A list of bitsets representing the basis.
2. A zeroed array to store the weight distribution.
3. A gray code traversal of the span of the list.
4. Hamming weight functions.
This should be nearly trivial to implement, and would remove the
dependence (unmerged) ticket #4320 has on Guava, which will make the
Windows port even harder...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4495>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---