Ask Your Question

nur_hamid's profile - activity

2019-03-11 11:37:27 +0200 received badge  Teacher (source)
2019-03-11 08:17:59 +0200 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 06:12:45 +0200 answered a question How to change sqrt(5) to decimal?

simply by



2019-03-04 14:35:48 +0200 received badge  Student (source)
2019-03-04 13:23:01 +0200 asked a question Linear code over a finite ring

The command


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 10:14:35 +0200 received badge  Popular Question (source)
2019-03-04 10:14:35 +0200 received badge  Notable Question (source)
2019-03-04 10:14:35 +0200 received badge  Famous Question (source)
2017-01-05 03:48:23 +0200 received badge  Popular Question (source)
2015-10-08 04:15:15 +0200 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


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-08 04:08:16 +0200 commented answer Liner Code over IntegerRing

Ok. Thanks.

2015-09-09 12:15:07 +0200 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 15:01:32 +0200 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-25 02:24:56 +0200 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


and also I have


These matrix have condition


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-25 02:14:26 +0200 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