![]() |
|
|
#23 |
|
Jun 2004
2·53 Posts |
Thank you ewmayer for your great explanation , though it's an old topic
. I'm astonished with the fact how "easy" it is to calculate in Fourier-space (with your example).@Citrix: If the numbers are 3-digit, then let the Vectors A and B of length 6 (2N) make the 'i'-matrix as: 2N*2N matrix Code:
|+1 +1 +1 +1 +1 +1| |i^0 i^0 i^0 i^0 i^0 i^0| |+1 +i -1 -i +1 +i|=|i^0 i^1 i^2 i^3 i^4 i^5| |+1 -1 +1 -1 +1 -1| |i^0 i^2 i^4 i^6 i^8 i^10| |+1 -i -1 +i +1 -i| |i^0 i^3 i^6 i^9 i^12 i^15| |+1 +1 +1 +1 +1 +1| |i^0 i^4 i^8 i^12 i^16 i^20| |+1 +1 +1 -i +1 +i| |i^0 i^5 i^12 i^15 i^20 i^25| j = row-number k = column-number And then follow the procedures (and divide by 6, the length of the Vector A (and B)) Am I right ?
|
|
|
|
|
|
#24 |
|
Jun 2004
2×53 Posts |
some stupid mistakes:
M(5,1) = i^5 = +i M(5,3) = i^10 = -1 Sorry, I couldn't find how to edit my post... |
|
|
|
|
|
#25 | |
|
∂2ω=0
Sep 2002
República de California
103·113 Posts |
Quote:
1) E^j = E^(j%n), e.g. E^25 = E^(25%6) = E^1 = E; 2) E^3 = -1. Using these, the 6x6 DFT matrix can be written as Code:
| +1 +1 +1 +1 +1 +1 | | +1 E E^2 -1 -E -E^2 | | +1 E^2 -E +1 E^2 -E | | +1 -1 +1 -1 +1 -1 | | +1 -E E^2 +1 -E E^2 | | +1 -E^2 -E -1 E^2 E | |
|
|
|
|
|
|
#26 |
|
Jul 2004
5·7 Posts |
Can we go one step closer to LL testing using the multiplication methods described above? What is FFT length, eg 1024K, 1792K? What is radix?
|
|
|
|
|
|
#27 |
|
Jul 2004
11102 Posts |
I'm still trying to get my head around multiplying using FFT's, but I have a couple questions that popped up:
As I understand, to multiply using FFT, you need to do a transform, perform the multiplication math, and then do an inverse transform to get the results back into a "real number". What if I wanted to do repeated squarings? Would I need to perform the inverse transform and then another transform before multiplying the second and sequential times? Or, once I have the number in the frequency domain, can I keep performing the multiplication math for as many squarings as I need, and then do the inverse transform? Also along the same lines, does Prime95 need to perform the inverse transform before subtracting 2 each iteration of the LLT? |
|
|
|
|
|
#28 |
|
Jul 2004
5×7 Posts |
I believe it is very logical to perform the multiplications without inverse transforms in between. But not for addition (or subtractions).
|
|
|
|
|
|
#29 |
|
Aug 2002
26·5 Posts |
You need to do the inverse transform and rounding step each time if you want to keep the precision errors under control.
|
|
|
|
|
|
#30 | |
|
Jul 2004
2×7 Posts |
Quote:
|
|
|
|
|
|
|
#31 | |
|
Nov 2003
164448 Posts |
Quote:
"AN FFT Extension to P-1" did exactly that. The code won't do anyone much good now; it was written in ALLIANT Fortran. |
|
|
|
|
|
|
#32 |
|
Jul 2004
5×7 Posts |
Can anyone explain "irrational base" as in IBDWT? I really don't understand the modulo step "for free".
The maths page of mersenne.org has dead links. Also, I can't find the original paper: Crandall, R. E. and Fagin, B. 1994, Discrete weighted transforms and large-integer arithmetic, Math. Comp., 62, 205, 305-324(January) Why is it not available for download? |
|
|
|
|
|
#33 |
|
Nov 2004
Florianopolis - Brazil
11112 Posts |
This page provides an Excel spreadsheet that shows FFT multiplication:
http://www.gweep.net/%7Eshifty/portf...eet/index.html Last fiddled with by Guilherme on 2004-12-27 at 16:45 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Any technology you guys are excited about? | jasong | Lounge | 31 | 2015-10-09 20:55 |
| These dell guys can't possibly be serious... | Unregistered | Hardware | 12 | 2006-11-03 03:53 |
| You guys are famous | jasong | Sierpinski/Riesel Base 5 | 1 | 2006-03-22 01:06 |
| Hi guys ! | Crystallize | Lounge | 6 | 2003-09-27 13:08 |
| How do you guys do this? | ThomRuley | Lone Mersenne Hunters | 1 | 2003-05-29 18:17 |