#19653: New decoders for Generalized Reed-Solomon codes
-------------------------------------+-------------------------------------
Reporter: dlucas | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-7.1
Component: coding theory | Resolution:
Keywords: | Merged in:
Authors: David Lucas | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/dlucas/grs_decoders | 4aebb5a23a3c571f945bb7da558e03ff4b4c1ace
Dependencies: #18928, #19897 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by dlucas):
Hello,
So I fixed the bug related to full codes.
I added a specific test in every decoder's decoding method to check if
`C.length() == C.dimension()`.
If that's the case, the input word is returned as is/unencoded as is
(depending if it's `decode_to_code` or `decode_to_message`).
I also added a note in these methods to document this behaviour.
As `C.decode_to_message()` was also failing in the full code case, I
overrode it.
Finally, I renamed `shorten_word` to `punctured_word` in
`GRSErrorErasureDecoder`, and store `C.length()` and `C.dimension()` in
variables when they were called multiple times (as it was the case in
Berlekamp-Welch.
David
--
Ticket URL: <http://trac.sagemath.org/ticket/19653#comment:24>
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.