mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2006-07-15, 08:20   #1
drew
 
drew's Avatar
 
Jun 2005

5768 Posts
Default Fourier transform for LL test

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
drew is offline   Reply With Quote
Old 2006-07-15, 12:43   #2
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3×1,181 Posts
Default

Quote:
Originally Posted by drew
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.
google

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
jasonp is offline   Reply With Quote
Old 2006-07-15, 16:43   #3
drew
 
drew's Avatar
 
Jun 2005

2·191 Posts
Default

Quote:
Originally Posted by jasonp
google

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
Thanks for that...I didn't notice the link at the bottom to that .pdf last time I saw that page.

Drew
drew is offline   Reply With Quote
Reply



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

All times are UTC. The time now is 15:10.


Mon Aug 2 15:10:25 UTC 2021 up 10 days, 9:39, 0 users, load averages: 3.77, 3.23, 3.25

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.