#17452: LinearCode should check the rank
-----------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.5
Component: coding theory | Keywords:
Merged in: | Authors: Vincent Delecroix
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+-------------------------------------
Hi,
In [http://ask.sagemath.org/question/24504/a-bug-in-computing-minimum-
distance-coding-theory/ a question on ask.sagemath.org] was presented the
following problem
{{{
sage: K = GF(4,"a")
sage: a = K.gen()
sage: G = Matrix([[a, a + 1, 1, a + 1, 1, 0, 0],
....: [0, a, a + 1, 1, a + 1, 1, 0],
....: [0, 0, a, a + 1, 1, a + 1, 1],
....: [a + 1, 0, 1, 0, a + 1, 1, a + 1],
....: [a, a + 1, a + 1, 0, 0, a + 1, 1],
....: [a + 1, a, a, 1, 0, 0, a + 1],
....: [a, a + 1, 1, a + 1, 1, 0, 0]])
sage: C = LinearCode(G)
sage: C.minimum_distance()
5
}}}
whereas the code has distance 3. The problem is that the input matrix does
not has full rank... but this is never tested!
--
Ticket URL: <http://trac.sagemath.org/ticket/17452>
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.