![]() |
|
|
#1 |
|
Jun 2005
5768 Posts |
Hey All,
I'm contemplating trying my hand at implementing an LL algorithm on an FPGA, but I need a little bit better understanding of what the correct mathematical approach should be. I have a good understanding of how a 'run-of-the-mill' FFT is implemented, but I understand there are optimizations that specifically apply to this type of testing, such as irrational bases and the math section of the GIMPS page mentions an 'all-integer weighted transform'? Can you point me in the right direction in trying to understand what this refers to? I assume an all-integer approach is better suited to an FPGA than the floating point implementation Prime95 uses. But what's a 'weighted' transform, and how does this speed up the process? I tried searching online and didn't find anything very descriptive. If anyone can offer some direction or let me know what an appropriate approach would be is, I'd really appreciate it. Thanks, Drew |
|
|
|
|
|
#2 | |
|
Tribal Bullet
Oct 2004
3×1,181 Posts |
Quote:
The paper by Crandall and Fagin (on the wikipedia page) goes into a lot of detail. Basically, multiplication mod a mersenne number involves wrapping the high half of the product around to the low half. Ordinary convolution does that for free if you don't zero-pad, *if* the size to be convolved is the size of the Mersenne number. A weighted transform lets you do the same wrapping around for free, but lets you choose the size of the convolution for maximum efficiency. jasonp Last fiddled with by jasonp on 2006-07-15 at 12:44 |
|
|
|
|
|
|
#3 | |
|
Jun 2005
2·191 Posts |
Quote:
Drew |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help with laplace transform | pinnn | Information & Answers | 4 | 2018-03-27 02:34 |
| Fourier Series for Prime Number Counting Functions | SteveC | Analysis & Analytic Number Theory | 10 | 2016-10-14 21:48 |
| Faster Fourier Transforms | Mini-Geek | Lounge | 2 | 2012-01-20 15:31 |
| Recovering Fourier coefficients of modular forms | Robert Holmes | Math | 2 | 2010-09-22 22:10 |
| Fast Odd Discrete Fourier Transform (ODFT) | dsouza123 | Miscellaneous Math | 1 | 2005-11-13 21:37 |