2019-03-11 05:37:27 -0500 received badge ● Teacher (source) 2019-03-11 02:17:59 -0500 commented question Basic integral error Does 6n(3) - 4ln(2) - 2 mean 6ln(3) - 4ln(2) - 2? If so, it will be same with 1.8190850097688764. 2019-03-11 00:12:45 -0500 answered a question How to change sqrt(5) to decimal? simply by float(sqrt(5))  or RR(sqrt(5))  2019-03-04 07:35:48 -0500 received badge ● Student (source) 2019-03-04 06:23:01 -0500 asked a question 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 and #19345 for constructing a linear code over a finite ring. Unfortunately, I failed to understand. 2019-03-04 03:14:35 -0500 received badge ● Famous Question (source) 2019-03-04 03:14:35 -0500 received badge ● Notable Question (source) 2019-03-04 03:14:35 -0500 received badge ● Popular Question (source) 2017-01-04 20:48:23 -0500 received badge ● Popular Question (source) 2015-10-07 21:15:15 -0500 asked a question Separate Variable of Matix (Get Basis) I try to look for basis of Matrix group center. However, I have problem to separate variable. For simplicity, I have A=Matrix([a1,a1],[0,a2])  Then, I have to get matrix [[1,1],[0,0]] and [[0,0],[0,1]] which linear combination of matrix above. Could anyone help me? Thanks 2015-10-07 21:08:16 -0500 commented answer Liner Code over IntegerRing Ok. Thanks. 2015-09-09 05:15:07 -0500 asked a question 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. 2015-08-25 08:01:32 -0500 commented answer Equation in Matrix Thanks for your help. It is so helpful. Why do it use [0,1] on for i in [0,1] for j in [0,1]]. Can we save the solution? For example, if we type a2, it will show 0. Thanks 2015-08-24 19:24:56 -0500 asked a question Equation in Matrix I have problem in center of Terwilliger Algebra. But, I will explain simple problem for simplicity my problem. For example, I have matrix A=Matrix([[a1,a2],[a3,a4]]);  and also I have B1=Matrix([[1,0],[0,0]]);B2=Matrix([[0,1],[0,0]]);B3=Matrix([[0,0],[1,0]]);B1=Matrix([[0,0],[0,1]]);  These matrix have condition AB=BA  for any B=B1,B2,B3,B4 If I solve it by hand, it is easy to get a1,a2,a3,a4. But how to do it by sage? Can sage solve it? Thanks 2015-08-24 19:14:26 -0500 asked a question Solve matrix equation Hi there! I have problem in my task. Perhaps there is one who can help me. For example, I have matrix A=[[a1,a2][a3,a4]], B=[[1,0],[0,0]].  and also I have equality AB=AB. If I solve it by hand, I will get a2=0. However, can it solved by sage? It is easily solved by hand, but I can't solve it by Saga. As I have to solve for big matrix, I can't solve it by hand. Could anyone help me? Thanks Sincerely, Hamid