#18376: New encoding structure for linear codes
-------------------------+-------------------------------------------------
Reporter: | Owner:
dlucas | Status: needs_review
Type: | Milestone: sage-6.10
enhancement | Resolution:
Priority: major | Merged in:
Component: | Reviewers:
coding theory | Work issues:
Keywords: | Commit:
Authors: David | 43ec64071da5ff5e5f5f700fe61b53f8fa11330e
Lucas | Stopgaps:
Report Upstream: N/A |
Branch: |
u/dlucas/encoder |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by jsrn):
I think Sage's answer is correct. Your example on bitbucket is a zero
*length* (and dimension) vector space. The "zero vector" in that space is
the empty vector.
Constructing one with only zero dimension correctly shows you the zero
word:
{{{
sage: V = Matrix(GF(2), 0, 5).row_module()
sage: V.list()
[(0,0,0,0,0)]
}}}
I think that unencoding the zero vector on a zero dimensional code should
return the empty vector. That seems the only sensible thing.
I guess the failure with `C.list()` crashing (and possibly other stuff,
like minimum distance) is another one for the pile of stuff to fix later
on...
--
Ticket URL: <http://trac.sagemath.org/ticket/18376#comment:48>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.