#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "nfft3.h"
#include "legendre.h"
#include "api.h"
#include "util.h"
Defines | |
#define | NFSFT_DEFAULT_NFFT_CUTOFF 6 |
The default NFFT cutoff parameter. | |
#define | NFSFT_DEFAULT_THRESHOLD 1000 |
The default threshold for the FPT. | |
#define | NFSFT_BREAK_EVEN 5 |
The break-even bandwidth ![]() | |
Functions | |
void | c2e (nfsft_plan *plan) |
Converts coefficients ![]() ![]() ![]()
to coefficients
| |
void | c2e_transposed (nfsft_plan *plan) |
Transposed version of the function c2e. | |
void | nfsft_init (nfsft_plan *plan, int N, int M) |
Creates a transform plan. | |
void | nfsft_init_advanced (nfsft_plan *plan, int N, int M, unsigned int flags) |
Creates a transform plan. | |
void | nfsft_init_guru (nfsft_plan *plan, int N, int M, unsigned int flags, int nfft_flags, int nfft_cutoff) |
Creates a transform plan. | |
void | nfsft_precompute (int N, double kappa, unsigned int nfsft_flags, unsigned int fpt_flags) |
Performes precomputation up to the next power of two with respect to a given bandwidth ![]() | |
void | nfsft_forget () |
Forgets all precomputed data. | |
void | nfsft_finalize (nfsft_plan *plan) |
Destroys a plan. | |
void | ndsft_trafo (nfsft_plan *plan) |
Executes a direct NDSFT, i.e. | |
void | ndsft_adjoint (nfsft_plan *plan) |
Executes a direct adjoint NDSFT, i.e. | |
void | nfsft_trafo (nfsft_plan *plan) |
Executes a NFSFT, i.e. | |
void | nfsft_adjoint (nfsft_plan *plan) |
Executes an adjoint NFSFT, i.e. | |
void | nfsft_precompute_x (nfsft_plan *plan) |
Variables | |
static struct nfsft_wisdom | wisdom = {false,0U} |
The global wisdom structure for precomputed data. |
|
The break-even bandwidth
|
|
The default NFFT cutoff parameter.
|
|
The default threshold for the FPT.
|
|
Converts coefficients
to coefficients
for each order
< The order k < Stores temporary values < Stores temporary values < Auxilliary pointer < Auxilliary pointer < Lower loop bound < Upper loop bound < Lower loop bound for even terms < Upper loop bound for even terms |
|
Transposed version of the function c2e.
< The order k < Stores temporary values < Stores temporary values < Auxilliary pointer < Auxilliary pointer < Lower loop bound < Upper loop bound < Lower loop bound for even terms < Upper loop bound for even terms |
|
The global wisdom structure for precomputed data.
|