![]() |
NFFT
3.3.1alpha
|
Data Structures | |
struct | nfsft_wisdom |
Wisdom structure. More... | |
Macros | |
#define | BWEXP_MAX 10 |
#define | BW_MAX 1024 |
#define | ROW(k) (k*(wisdom.N_MAX+2)) |
#define | ROWK(k) (k*(wisdom.N_MAX+2)+k) |
#define | NFSFT_DEFAULT_NFFT_CUTOFF 6 |
The default NFFT cutoff parameter. More... | |
#define | NFSFT_DEFAULT_THRESHOLD 1000 |
The default threshold for the FPT. More... | |
#define | NFSFT_BREAK_EVEN 5 |
The break-even bandwidth ![]() | |
Enumerations | |
enum | bool { false = 0, true = 1 } |
Functions | |
void | alpha_al_row (R *alpha, const int N, const int n) |
void | beta_al_row (R *beta, const int N, const int n) |
void | gamma_al_row (R *gamma, const int N, const int n) |
void | alpha_al_all (R *alpha, const int N) |
Compute three-term-recurrence coefficients ![]() ![]() | |
void | beta_al_all (R *beta, const int N) |
Compute three-term-recurrence coefficients ![]() ![]() | |
void | gamma_al_all (R *gamma, const int N) |
Compute three-term-recurrence coefficients ![]() ![]() | |
void | eval_al (R *x, R *y, const int size, const int k, R *alpha, R *beta, R *gamma) |
Evaluates an associated Legendre polynomials ![]() | |
int | eval_al_thresh (R *x, R *y, const int size, const int k, R *alpha, R *beta, R *gamma, R threshold) |
Evaluates an associated Legendre polynomials ![]() | |
static void | c2e (nfsft_plan *plan) |
Converts coefficients ![]() ![]() ![]()
to coefficients
for each order | |
static void | c2e_transposed (nfsft_plan *plan) |
Transposed version of the function c2e. More... | |
void | nfsft_init (nfsft_plan *plan, int N, int M) |
void | nfsft_init_advanced (nfsft_plan *plan, int N, int M, unsigned int flags) |
void | nfsft_init_guru (nfsft_plan *plan, int N, int M, unsigned int flags, unsigned int nfft_flags, int nfft_cutoff) |
void | nfsft_precompute (int N, double kappa, unsigned int nfsft_flags, unsigned int fpt_flags) |
void | nfsft_forget (void) |
void | nfsft_finalize (nfsft_plan *plan) |
void | nfsft_trafo_direct (nfsft_plan *plan) |
void | nfsft_adjoint_direct (nfsft_plan *plan) |
void | nfsft_trafo (nfsft_plan *plan) |
void | nfsft_adjoint (nfsft_plan *plan) |
void | nfsft_precompute_x (nfsft_plan *plan) |
Variables | |
static struct nfsft_wisdom | wisdom = {false,0U,-1,-1,0,0,0,0,0} |
The global wisdom structure for precomputed data. More... | |
#define NFSFT_DEFAULT_NFFT_CUTOFF 6 |
The default NFFT cutoff parameter.
Definition at line 62 of file nfsft.c.
Referenced by c2e_transposed().
#define NFSFT_DEFAULT_THRESHOLD 1000 |
#define NFSFT_BREAK_EVEN 5 |
|
inline |
Compute three-term-recurrence coefficients of associated Legendre functions for
.
Definition at line 89 of file legendre.c.
Referenced by c2e_transposed().
|
inline |
Compute three-term-recurrence coefficients of associated Legendre functions for
.
Definition at line 98 of file legendre.c.
Referenced by c2e_transposed().
|
inline |
Compute three-term-recurrence coefficients of associated Legendre functions for
.
Definition at line 107 of file legendre.c.
Referenced by c2e_transposed().
void eval_al | ( | R * | x, |
R * | y, | ||
const int | size, | ||
const int | k, | ||
R * | alpha, | ||
R * | beta, | ||
R * | gamma | ||
) |
Evaluates an associated Legendre polynomials using the Clenshaw-algorithm.
Definition at line 116 of file legendre.c.
int eval_al_thresh | ( | R * | x, |
R * | y, | ||
const int | size, | ||
const int | k, | ||
R * | alpha, | ||
R * | beta, | ||
R * | gamma, | ||
R | threshold | ||
) |
Evaluates an associated Legendre polynomials using the Clenshaw-algorithm if it no exceeds a given threshold.
Definition at line 161 of file legendre.c.
|
inlinestatic |
Converts coefficients with
,
from a linear combination of Chebyshev polynomials
to coefficients matching the representation by complex exponentials
for each order .
nfsft_plan
containing the coefficients Definition at line 108 of file nfsft.c.
References nfsft_plan::f_hat_intern, and nfsft_plan::N.
Referenced by c2e_transposed().
|
inlinestatic |
Transposed version of the function c2e.
nfsft_plan
containing the coefficients Definition at line 186 of file nfsft.c.
References nfsft_wisdom::alpha, alpha_al_all(), nfsft_wisdom::beta, beta_al_all(), c2e(), nfft_plan::f, nfsft_plan::f, nfft_plan::f_hat, nfsft_plan::f_hat, nfsft_plan::f_hat_intern, nfft_plan::flags, nfsft_plan::flags, nfsft_wisdom::gamma, gamma_al_all(), nfsft_wisdom::initialized, nfsft_plan::M_total, nfsft_plan::MEASURE_TIME_t, nfsft_plan::mv_adjoint, nfsft_plan::mv_trafo, nfsft_plan::N, nfsft_wisdom::N_MAX, nfsft_plan::N_total, nfft_elapsed_seconds(), nfft_free(), nfft_malloc(), NFSFT_BREAK_EVEN, NFSFT_DEFAULT_NFFT_CUTOFF, nfsft_plan::plan_nfft, nfsft_wisdom::set, nfsft_wisdom::T_MAX, X, nfft_plan::x, and nfsft_plan::x.
|
static |