On Sat, 09 Dec 2006 07:54:41 -0800, David Joyner <[EMAIL PROTECTED]>
wrote:
>
> Hi:
> The minimum_distance command in linear_code.py seems to be broken.
> I thik the problem is that
>
> sage: C = ExtendedQuadraticResidueCode(17,GF(2))
> sage: G = C.gen_mat(); q = 2
> sage: Gstr = str(gap(G))+"*Z("+str(q)+")^0"
>
> now yields an error (this is needed to coerce a SAGE
> generator matrix to a GAP matrix). Should minimum_distance use
> G._matrix_(GF(q)) instead?
David,
In the version of sage-1.5.alpha you have, I hadn't gone through the
coding directory and updated it for the new version of SAGE (I was doing
all my own code first, since I understand it better). I did coding
theory last night, and now everything in there works. At least, the
above example now works fine as do all other doctests.
William
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---