| 1 | initial version |
Hello,
Finite chain rings are not (yet) supported in Sage. Someone posted a patch on it on the updtae system (see: http://trac.sagemath.org/ticket/13398).
I know it's not exactly the issue here, but for now you can try the following:
sage: F = GF(2) sage: R.<x> = F[] sage: g = 1+x+x^2+x^3+x^4 sage: C = codes.CyclicCode(5, g)
to build your code (sorry about the bad formatting). Of course, it's over GF(2), not over a chain ring...
| 2 | No.2 Revision |
Hello,
Finite chain rings are not (yet) supported in Sage. Someone posted a patch on it on the updtae system (see: http://trac.sagemath.org/ticket/13398).
I know it's not exactly the issue here, but for now you can try the following:
sage: F = GF(2) GF(2)
sage: R.<x> = F[] F[]
sage: g = 1+x+x^2+x^3+x^4 1+x+x^2+x^3+x^4
sage: C = codes.CyclicCode(5, g)g)
to build your code (sorry about the bad formatting). Of course, it's over GF(2), not over a chain ring...
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.