![]() |
NFFT 3.6.0
|

Functions | |
| static int | mpolar_grid (int T, int S, NFFT_R *x, NFFT_R *w) |
| Generates the points | |
| static int | mpolar_dft (NFFT_C *f_hat, int NN, NFFT_C *f, int T, int S, int m) |
| discrete mpolar FFT | |
| static int | mpolar_fft (NFFT_C *f_hat, int NN, NFFT_C *f, int T, int S, int m) |
| NFFT-based mpolar FFT. | |
| static int | inverse_mpolar_fft (NFFT_C *f, int T, int S, NFFT_C *f_hat, int NN, int max_i, int m) |
| inverse NFFT-based mpolar FFT | |
| static int | comparison_fft (FILE *fp, int N, int T, int S) |
| Comparison of the FFTW, mpolar FFT, and inverse mpolar FFT. | |
| int | main (int argc, char **argv) |
| test program for various parameters | |
Variables | |
| NFFT_R | GLOBAL_elapsed_time |
|
static |
Generates the points 



We add more concentric circles to the polar grid and exclude those nodes not located in the unit square, i.e.,
![\[
x_{t,j} := r_j\left(\cos\theta_t, \sin\theta_t\right)^{\top}\,,\qquad
(j,t)^{\top}\in I_{\sqrt{2}R}\times I_T\,.
\]](form_289.png)
with 


Definition at line 58 of file mpolar_fft_test.c.
Referenced by inverse_mpolar_fft(), main(), mpolar_dft(), and mpolar_fft().
|
static |
discrete mpolar FFT
Definition at line 102 of file mpolar_fft_test.c.
References FFTW_INIT, MALLOC_F, MALLOC_F_HAT, MALLOC_X, mpolar_grid(), PRE_PHI_HUT, and PRE_PSI.
Referenced by comparison_fft(), and main().
|
static |
NFFT-based mpolar FFT.
Definition at line 164 of file mpolar_fft_test.c.
References FFT_OUT_OF_PLACE, FFTW_INIT, MALLOC_F, MALLOC_F_HAT, MALLOC_X, mpolar_grid(), PRE_FULL_PSI, PRE_LIN_PSI, PRE_PHI_HUT, and PRE_PSI.
Referenced by comparison_fft(), and main().
|
static |
inverse NFFT-based mpolar FFT
Definition at line 238 of file mpolar_fft_test.c.
References CGNR, FFT_OUT_OF_PLACE, FFTW_INIT, MALLOC_F, MALLOC_F_HAT, MALLOC_X, max_i(), mpolar_grid(), PRE_FULL_PSI, PRE_LIN_PSI, PRE_PHI_HUT, PRE_PSI, PRECOMPUTE_DAMP, and PRECOMPUTE_WEIGHT.
Referenced by comparison_fft(), and main().
|
static |
Comparison of the FFTW, mpolar FFT, and inverse mpolar FFT.
Definition at line 347 of file mpolar_fft_test.c.
References inverse_mpolar_fft(), mpolar_dft(), and mpolar_fft().
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
test program for various parameters
Definition at line 412 of file mpolar_fft_test.c.
References comparison_fft(), inverse_mpolar_fft(), max_i(), mpolar_dft(), mpolar_fft(), and mpolar_grid().
| NFFT_R GLOBAL_elapsed_time |
Definition at line 43 of file mpolar_fft_test.c.