[sage-support] Re: solving a linear system of GF(3) -- strange TypeError

2019-10-08 Thread Robert Samal
Sorry, F=GF(3), I made my original example shorter and didn't read it properly. So the full problematic code is B=matrix(GF(3), 2,2,[1,0,1,0], sparse=True) v=vector(GF(3), [1,1]) B.solve_right(v) Thanks, Robert On Tuesday, October 8, 2019 at 5:17:59 PM UTC-7, Robert Samal wrote: > > I am

Re: [sage-support] solving a linear system of GF(3) -- strange TypeError

2019-10-08 Thread David Joyner
On Tue, Oct 8, 2019, 8:18 PM Robert Samal wrote: > I am trying to solve a rather large linear systems of equations of GF(3). > As the matrices are sparse, I thought that adding "sparse=True" to the > constructor of the matrix could be of help. However, I ran to a strange > error message. > >

[sage-support] solving a linear system of GF(3) -- strange TypeError

2019-10-08 Thread Robert Samal
I am trying to solve a rather large linear systems of equations of GF(3). As the matrices are sparse, I thought that adding "sparse=True" to the constructor of the matrix could be of help. However, I ran to a strange error message. B=matrix(GF(3), 2,2,[1,0,1,0], sparse=True) v=vector(F,