![]() |
Octopus
|
Go to the source code of this file.
Typedefs | |
| typedef int | fint |
| typedef int | fint4 |
| typedef long long int | fint8 |
| typedef char | fchar |
Functions | |
| void | fft_optimize (int *n, int par) |
| void | FC_FUNC_ (oct_fft_optimize, OCT_FFT_OPTIMIZE) |
| typedef int fint |
Definition at line 54 of file fftw_low.c.
| typedef int fint4 |
Definition at line 55 of file fftw_low.c.
| typedef long long int fint8 |
Definition at line 56 of file fftw_low.c.
| typedef char fchar |
Definition at line 58 of file fftw_low.c.
| void fft_optimize | ( | int * | n, |
| int | par | ||
| ) |
Optimizes the order of the FFT grid. The best FFT grid dimensions are given by 2^a*3^b*5^c*7^d*11^e*13^f where a,b,c,d are arbitrary and e,f are 0 or 1. (http://www.fftw.org/doc/Complex-DFTs.html) par is the parity: the result must satisfy n % 2 == par, provided par >= 0.
NTD: To make cufft and FFTW to always give the same results, the multiples of 11 and 13 are not allowed.
Definition at line 71 of file fftw_low.c.
| void FC_FUNC_ | ( | oct_fft_optimize | , |
| OCT_FFT_OPTIMIZE | |||
| ) |
Definition at line 101 of file fftw_low.c.