|
Data Structures | |
struct | nfct_plan |
Structure for a transform plan. More... | |
struct | nfst_plan |
Structure for a transform plan. More... | |
Functions | |
void | nfct_init_1d (nfct_plan *ths_plan, int N0, int M_total) |
Creates a 1-dimensional transform plan. | |
void | nfct_init_2d (nfct_plan *ths_plan, int N0, int N1, int M_total) |
Creates a 3-dimensional transform plan. | |
void | nfct_init_3d (nfct_plan *ths_plan, int N0, int N1, int N2, int M_total) |
Creates a 3-dimensional transform plan. | |
void | nfct_init (nfct_plan *ths_plan, int d, int *N, int M_total) |
Creates a d-dimensional transform plan. | |
void | nfct_init_guru (nfct_plan *ths_plan, int d, int *N, int M_total, int *n, int m, unsigned nfct_flags, unsigned fftw_flags) |
Creates a d-dimensional transform plan. | |
void | nfct_precompute_psi (nfct_plan *ths_plan) |
precomputes the values psi if the PRE_PSI is set the application program has to call this routine after setting the nodes this_plan->x | |
void | nfct_trafo (nfct_plan *ths_plan) |
executes a NFCT (approximate,fast), computes for | |
void | ndct_trafo (nfct_plan *ths_plan) |
executes a NDCT (exact,slow), computes for | |
void | nfct_adjoint (nfct_plan *ths_plan) |
executes a transposed NFCT (approximate,fast), computes for | |
void | ndct_adjoint (nfct_plan *ths_plan) |
executes a direct transposed NDCT (exact,slow), computes for | |
void | nfct_finalize (nfct_plan *ths_plan) |
Destroys a plan. | |
double | nfct_phi_hut (nfct_plan *ths_plan, int k, int d) |
do some adjustments (N,n) then compute PHI_HUT | |
double | nfct_phi (nfct_plan *ths_plan, double x, int d) |
do some adjustments (N,n) then compute PHI | |
int | nfct_fftw_2N (int n) |
returns 2(n-1), fftw related issue | |
int | nfct_fftw_2N_rev (int n) |
returns 0.5n+1, fftw related issue | |
void | nfst_init_1d (nfst_plan *ths_plan, int N0, int M_total) |
Creates a 1-dimensional transform plan. | |
void | nfst_init_2d (nfst_plan *ths_plan, int N0, int N1, int M_total) |
Creates a 3-dimensional transform plan. | |
void | nfst_init_3d (nfst_plan *ths_plan, int N0, int N1, int N2, int M_total) |
Creates a 3-dimensional transform plan. | |
void | nfst_init (nfst_plan *ths_plan, int d, int *N, int M_total) |
Creates a d-dimensional transform plan. | |
void | nfst_init_m (nfst_plan *ths_plan, int d, int *N, int M_total, int m) |
Creates a d-dimensional transform plan with pcific m. | |
void | nfst_init_guru (nfst_plan *ths_plan, int d, int *N, int M_total, int *n, int m, unsigned nfst_flags, unsigned fftw_flags) |
Creates a d-dimensional transform plan. | |
void | nfst_precompute_psi (nfst_plan *ths_plan) |
precomputes the values psi if the PRE_PSI is set the application program has to call this routine after setting the nodes this_plan->x | |
void | nfst_trafo (nfst_plan *ths_plan) |
executes a NFST (approximate,fast), computes for | |
void | ndst_trafo (nfst_plan *ths_plan) |
executes a NDST (exact,slow), computes for | |
void | nfst_adjoint (nfst_plan *ths_plan) |
executes a transposed NFST (approximate,fast), computes for | |
void | ndst_adjoint (nfst_plan *ths_plan) |
executes a direct transposed NDST (exact,slow), computes for | |
void | nfst_finalize (nfst_plan *ths_plan) |
Destroys a plan. | |
void | nfst_full_psi (nfst_plan *ths_plan, double eps) |
more memory usage, a bit faster | |
double | nfst_phi_hut (nfst_plan *ths_plan, int k, int d) |
do some adjustments (N,n) then compute PHI_HUT | |
double | nfst_phi (nfst_plan *ths_plan, double x, int d) |
do some adjustments (N,n) then compute PHI | |
int | nfst_fftw_2N (int n) |
returns 2(n+1), fftw related issue | |
int | nfst_fftw_2N_rev (int n) |
returns 0.5n-1, fftw related issue |
|
Creates a 1-dimensional transform plan.
Definition at line 996 of file nfct.c. References nfct_init(). |
|
Creates a 3-dimensional transform plan.
Definition at line 1004 of file nfct.c. References nfct_init(). |
|
Creates a 3-dimensional transform plan.
Definition at line 1013 of file nfct.c. References nfct_init(). |
|
Creates a d-dimensional transform plan.
Definition at line 931 of file nfct.c. References nfct_plan::d, nfct_plan::fftw_flags, nfct_plan::M_total, nfct_plan::N, nfct_plan::n, nfct_fftw_2N(), nfct_plan::nfct_flags, and nfft_next_power_of_2(). Referenced by nfct_init_1d(), nfct_init_2d(), and nfct_init_3d(). |
|
Creates a d-dimensional transform plan. < index over all dimensions Definition at line 968 of file nfct.c. References nfct_plan::d, nfct_plan::fftw_flags, nfct_plan::m, nfct_plan::M_total, nfct_plan::N, nfct_plan::n, and nfct_plan::nfct_flags. |
|
precomputes the values psi if the PRE_PSI is set the application program has to call this routine after setting the nodes this_plan->x < index over all dimensions < index over all nodes < index 0<=lj<u+o+1 < depends on x_j Definition at line 838 of file nfct.c. References nfct_plan::d, nfct_plan::M_total, and nfct_plan::psi. |
|
executes a NFCT (approximate,fast), computes for use ths->my_fftw_r2r_plan form compute by d-variate discrete Fourier transform set Definition at line 711 of file nfct.c. References PRE_FULL_PSI. |
|
executes a NDCT (exact,slow), computes for
|
|
executes a transposed NFCT (approximate,fast), computes for use ths->my_fftw_plan set compute by d-variate discrete cosine transform form Definition at line 765 of file nfct.c. References nfct_plan::g, nfct_plan::g1, nfct_plan::g2, nfct_plan::g_hat, nfct_plan::my_fftw_r2r_plan, nfct_plan::nfct_flags, PRE_FULL_PSI, nfct_plan::psi_index_f, and nfct_plan::psi_index_g. |
|
executes a direct transposed NDCT (exact,slow), computes for
Definition at line 257 of file nfct.c. References nfct_fftw_2N(). |
|
Destroys a plan. index over dimensions Definition at line 1027 of file nfct.c. References nfct_plan::c_phi_inv, nfct_plan::d, nfct_plan::f, nfct_plan::f_hat, FFT_OUT_OF_PLACE, FFTW_INIT, nfct_plan::g1, nfct_plan::g2, MALLOC_F, MALLOC_F_HAT, MALLOC_X, nfct_plan::my_fftw_r2r_plan, nfct_plan::N, nfct_plan::n, nfct_plan::nfct_flags, PRE_PHI_HUT, PRE_PSI, nfct_plan::psi, nfct_plan::sigma, and nfct_plan::x. |
|
do some adjustments (N,n) then compute PHI_HUT
|
|
do some adjustments (N,n) then compute PHI
|
|
returns 2(n-1), fftw related issue
Definition at line 81 of file nfct.c. Referenced by ndct_adjoint(), and nfct_init(). |
|
returns 0.5n+1, fftw related issue
|
|
Creates a 1-dimensional transform plan.
Definition at line 979 of file nfst.c. References nfst_init(). |
|
Creates a 3-dimensional transform plan.
Definition at line 987 of file nfst.c. References nfst_init(). |
|
Creates a 3-dimensional transform plan.
Definition at line 996 of file nfst.c. References nfst_init(). |
|
Creates a d-dimensional transform plan. < index over all dimensions Definition at line 913 of file nfst.c. References nfst_plan::d, nfst_plan::fftw_flags, nfst_plan::M_total, nfst_plan::N, nfst_plan::n, nfft_next_power_of_2(), and nfst_plan::nfst_flags. Referenced by nfst_init_1d(), nfst_init_2d(), and nfst_init_3d(). |
|
Creates a d-dimensional transform plan with pcific m. (just for convenience)
Definition at line 940 of file nfst.c. References nfft_next_power_of_2(), nfst_fftw_2N(), and nfst_init_guru(). |
|
Creates a d-dimensional transform plan. < index over all dimensions Definition at line 951 of file nfst.c. References nfst_plan::d, nfst_plan::fftw_flags, nfst_plan::m, nfst_plan::M_total, nfst_plan::N, nfst_plan::n, and nfst_plan::nfst_flags. Referenced by nfst_init_m(). |
|
precomputes the values psi if the PRE_PSI is set the application program has to call this routine after setting the nodes this_plan->x < index over all dimensions < index over all nodes < index 0<=lj<u+o+1 < depends on x_j Definition at line 743 of file nfst.c. References nfst_plan::d, nfst_plan::M_total, nfst_plan::nfst_flags, nfst_full_psi(), nfst_plan::nfst_full_psi_eps, PRE_FULL_PSI, and nfst_plan::psi. |
|
executes a NFST (approximate,fast), computes for use ths->my_fftw_r2r_plan form compute by d-variate discrete Fourier transform set |
|
executes a NDST (exact,slow), computes for
|
|
executes a transposed NFST (approximate,fast), computes for use ths->my_fftw_plan set compute by d-variate discrete cosine transform form Definition at line 675 of file nfst.c. References nfst_plan::g, nfst_plan::g1, nfst_plan::g2, nfst_plan::g_hat, and nfst_plan::my_fftw_r2r_plan. |
|
executes a direct transposed NDST (exact,slow), computes for
Definition at line 255 of file nfst.c. References nfst_fftw_2N(). |
|
Destroys a plan.
Definition at line 1006 of file nfst.c. References nfst_plan::c_phi_inv, nfst_plan::d, nfst_plan::f, nfst_plan::f_hat, FFT_OUT_OF_PLACE, FFTW_INIT, nfst_plan::g1, nfst_plan::g2, MALLOC_F, MALLOC_F_HAT, MALLOC_X, nfst_plan::my_fftw_r2r_plan, nfst_plan::N, nfst_plan::n, nfst_plan::nfst_flags, PRE_FULL_PSI, PRE_PHI_HUT, PRE_PSI, nfst_plan::psi, nfst_plan::psi_index_f, nfst_plan::psi_index_g, nfst_plan::sigma, and nfst_plan::x. |
|
more memory usage, a bit faster < index over all dimensions < index over all nodes < plain index 0<=l_L<lprod < multi index 0<=lj<u+o+1 < postfix plain index < 'bandwidth' of matrix B < depends on x_j Definition at line 771 of file nfst.c. References nfst_plan::d, nfst_plan::M_total, nfst_plan::nfst_flags, PRE_PSI, nfst_plan::psi, nfst_plan::psi_index_f, nfst_plan::psi_index_g, and nfst_plan::size_psi. Referenced by nfst_precompute_psi(). |
|
do some adjustments (N,n) then compute PHI_HUT
|
|
do some adjustments (N,n) then compute PHI
|
|
returns 2(n+1), fftw related issue
Definition at line 81 of file nfst.c. Referenced by ndst_adjoint(), and nfst_init_m(). |
|
returns 0.5n-1, fftw related issue
|