ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 20 Apr 2022 09:37:16 +0200Getting the extra information from higher levels of verbose in Magma interfacehttps://ask.sagemath.org/question/62059/getting-the-extra-information-from-higher-levels-of-verbose-in-magma-interface/I want to compute the minimum distance of a code in SageMath using Magma's interface. I'm also interested in the information showed by Magma while computing it with a higher level of verbose: it shows the estimated time for the computation and the current bounds.
I use magma.SetVerbose("Code",true) to set the verbose level to 1, but when computing the minimum distance SageMath doesn't show anything until it finishes the computation (and then it only gives the result).ThekkarWed, 20 Apr 2022 09:37:16 +0200https://ask.sagemath.org/question/62059/Linear code over a finite ringhttps://ask.sagemath.org/question/45640/linear-code-over-a-finite-ring/The command
LinearCode(M)
works well on a Finite Field `F`, but doesn't work for a finite ring.
Is there any way to construct a linear code over a finite ring using sage?
In other words, could we construct a module over ZZ/nZZ?
I try to understand the trac tickets [#6452](https://trac.sagemath.org/ticket/6452) and [#19345](https://trac.sagemath.org/ticket/19345) for constructing a linear code over a finite ring.
Unfortunately, I failed to understand.nur_hamidMon, 04 Mar 2019 12:01:18 +0100https://ask.sagemath.org/question/45640/Liner Code over IntegerRinghttps://ask.sagemath.org/question/29424/liner-code-over-integerring/ 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.nur_hamidWed, 09 Sep 2015 12:15:07 +0200https://ask.sagemath.org/question/29424/