mersenneforum.org Linear algebra in MPQS
 User Name Remember Me? Password
 Register FAQ Search Today's Posts Mark Forums Read

 2007-02-01, 22:56 #1 R1zZ1   Feb 2007 58 Posts Linear algebra in MPQS Hi all, I'm an italian student and I need your support. I'm implementing MPQS with GMP, the implemented sieving algorithm works fine and I obtain the sparse matrix representing the good relations that I can use to solve the linear algebra and find factors. My problem is just to solve the linear algebra. I need a C++ implementation or Pari/GP function that find these solutions using gaussian elimination or lanczos (faster, right?). Thx in advance!
 2007-02-01, 23:20 #2 R1zZ1   Feb 2007 58 Posts I'll also appreciate if you indicate me a C++ library with a function that solves equations system over Z_2. Lidia has a function named solve() but i am not sure that it works with sparse matrix modulo 2 and gives me a valid solution. bye Last fiddled with by R1zZ1 on 2007-02-01 at 23:39
2007-02-02, 06:45   #3
jasonp
Tribal Bullet

Oct 2004

352910 Posts

Quote:
 Originally Posted by R1zZ1 Hi all, I'm an italian student and I need your support. I'm implementing MPQS with GMP, the implemented sieving algorithm works fine and I obtain the sparse matrix representing the good relations that I can use to solve the linear algebra and find factors. My problem is just to solve the linear algebra. I need a C++ implementation or Pari/GP function that find these solutions using gaussian elimination or lanczos (faster, right?).
Lanczos is much faster than Gauss elimination.

There are several MPQS implementations linked to the sticky at the top of the factoring forum; they all have to solve this problem, and there's plenty of code to browse.

jasonp

 Thread Tools

 Similar Threads Thread Thread Starter Forum Replies Last Post cubaq YAFU 2 2017-04-02 11:35 wombatman Msieve 2 2013-10-09 15:54 CRGreathouse Msieve 8 2009-08-05 07:25 10metreh Msieve 3 2009-02-02 08:34 Damian Math 8 2007-02-12 22:25

All times are UTC. The time now is 20:28.

Fri Sep 18 20:28:07 UTC 2020 up 8 days, 17:39, 1 user, load averages: 1.60, 1.86, 1.94

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.