#20087: `__call__(message)` on a linear code or encoder should return a 
codeword.
-------------------------------------+-------------------------------------
       Reporter:  jsrn               |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-7.2
      Component:  coding theory      |   Resolution:
       Keywords:  beginner           |    Merged in:
        Authors:  David Lucas        |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/dlucas/shortcut_to_encode        |  872f5d79d4dc260c64ff1512aefaf796d6bc15a8
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by dlucas):

 * status:  needs_work => needs_review
 * cc: danielaugot (added)


Comment:

 Done.
 Except for the `ValueError`. If the input is not a codeword, it passes it
 to `encode` which does the check. As `encode` knows the message space of
 the encoder to use, it returns a nice error message which specifies the
 expected input (e.g. "The value to encode must be in Vector space of
 dimension 4 over Finite Field of size 2").

 Maybe leave this review for Daniel as he wanted to do it? I just Cc'd him
 on this ticket.

--
Ticket URL: <http://trac.sagemath.org/ticket/20087#comment:11>
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.

Reply via email to