Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Education > Math > Re: Solving Lin...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 4007 of 4322
Post > Topic >>

Re: Solving Linear systems over finite rings

by hagman <google@[EMAIL PROTECTED] > Apr 6, 2008 at 02:23 PM

On 6 Apr., 17:41, Brian Tyler <brian.ty...@[EMAIL PROTECTED]
> wrote:
> I'm currently writing an algorithm which depends at one small point on
> being able to solve a system of the form:
>
>  [a_1 b_1][x_1] = [c_1]  (mod m_1)
>  [a_2 b_2][x_2] = [c_2]  (mod m_2)
>  [a_3 b_3][x_3] = [c_3]  (mod m_3)
>
> where a_i,b_i,c_i \in Z and 1 < m_i \in Z

And what are x_i supposed to be?
If [a_1 b_1] denotes a 1 x 2 matrix and [c_1] a 1 x 1 matrix,
then [x_1] better be a 2x1 matrix -- of integers?
Then, writing x and y for its components, you are really trying to
solve
  a_1 x + b_1 y = c_1 - k m_1
or more symmetrically
  a_1 x + b_1 y + m_1 k = c_1
in integers x,y,k.
If gcd(a_1,b_1,m_1) divides c_1, such solutions can be found using
Euklid's
generalized algorithm. If not, no such integer solution exists.

>
> At the moment I am using the pari C library to do this, but it adds
loads
> of overhead because I need to convert to the pari type and convert back
> (and if I am using GMP integers this is really slow) So I was hoping to
> write a purpose built algorithm for doing this, but I haven't had any
> luck in finding one.
>
> An ideas?
>
> Many thanks,
> Brian.
 




 3 Posts in Topic:
Solving Linear systems over finite rings
Brian Tyler <brian.tyl  2008-04-06 15:41:42 
Re: Solving Linear systems over finite rings
hagman <google@[EMAIL   2008-04-06 14:23:44 
Re: Solving Linear systems over finite rings
Brian Tyler <brian.tyl  2008-04-07 13:10:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 7:44:38 CST 2008.