Liner Code over IntegerRing
asked 2015-09-09 05:15:07 -0600
This post is a wiki. Anyone with karma >750 is welcome to improve it.
I want to make linear code over ring that is not field. I try to do this
sage: MS = MatrixSpace(IntegerModRing(4),3,3); sage: G = MS([[1,0,0],[0,1,0],[0,0,1]]) sage: C=LinearCode(G)
But, there is error such as below
NotImplementedError: Echelon form not implemented over 'Ring of integers modulo 4'
Of course, there is no problem if I use
IntegerModRing(n) with prime number
n, but it is ring that is also field. I hope I can make Linear Code over Ring. Could somebody help me? Thanks.