-
-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A proper class for Hamming codes #19930
Comments
Branch: u/dlucas/hamming_code |
comment:2
I pushed the patch, this is now open for review. Alongside with the new classes, I also made the (very small) following changes:
David New commits:
|
Author: David Lucas |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
I updated this ticket to latest beta. Also note that with this ticket, the implementation of New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
I updated to latest beta and fixed merge conflicts. This is still open for review. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
I updated to latest beta and fixed merge conflict. This is still open for review. |
comment:14
When comparing 2 Hamming codes in docstrings, you replaced the code comparaison by a comparison on the echelon form of their respective generating matrices. I suggest to avoid calling directly echelon_form method, and rather compare their systematic generator matrices (which is equivalent but seems clearer).
|
comment:15
lines 156 to 161 of hamming_code.py: this code seems very odd to me. I do not see what you are trying to do here.
If, as I presume, you're trying to simply flip the order of the rows, then, try something like
|
comment:16
The rest of the modifications are ok to me. So once these 2 issues have been addressed, I'll be happy to give a positive review. |
Reviewer: Clément Pernet |
comment:18
Hello, I made the changes. I also removed a test from David |
comment:19
All good. Positive review. |
Changed branch from u/dlucas/hamming_code to |
codes.HammingCode
is not a constructor for a class, but a method which builds a generic linear code.This ticket proposes a class implementation of Hamming codes, using the API introduced in #18099 which properly sets Hamming codes as a class. It also comes with a new generic encoder for codes built from a parity check matrix.
CC: @wdjoyner @ppurka @ClementPernet
Component: coding theory
Author: David Lucas
Branch/Commit:
2b6875a
Reviewer: Clément Pernet
Issue created by migration from https://trac.sagemath.org/ticket/19930
The text was updated successfully, but these errors were encountered: