![]() |
3.2.3 |
Macros | |
#define | SYMBOL_ABEL_POISSON(k, h) (pow(h,k)) |
#define | SYMBOL_SINGULARITY(k, h) ((2.0/(2*k+1))*pow(h,k)) |
#define | KT_ABEL_POISSON (0) |
Abel-Poisson kernel. | |
#define | KT_SINGULARITY (1) |
Singularity kernel. | |
#define | KT_LOC_SUPP (2) |
Locally supported kernel. | |
#define | KT_GAUSSIAN (3) |
Gaussian kernel. |
Enumerations | |
enum | pvalue { NO = 0, YES = 1, BOTH = 2 } |
Enumeration type for yes/no/both-type parameters. |
Functions | |
static double | innerProduct (const double phi1, const double theta1, const double phi2, const double theta2) |
Computes the ![]() ![]() | |
static double | poissonKernel (const double x, const double h) |
Evaluates the Poisson kernel ![]() ![]() | |
static double | singularityKernel (const double x, const double h) |
Evaluates the singularity kernel ![]() ![]() | |
static double | locallySupportedKernel (const double x, const double h, const double lambda) |
Evaluates the locally supported kernel ![]() ![]() | |
static double | gaussianKernel (const double x, const double sigma) |
Evaluates the spherical Gaussian kernel ![]() ![]() | |
int | main (int argc, char **argv) |
The main program. |
|
inlinestatic |
Computes the standard inner product between two vectors on the unit sphere
given in spherical coordinates.
Definition at line 78 of file fastsumS2.c.
Referenced by main().
|
inlinestatic |
Evaluates the Poisson kernel at a node
.
Definition at line 97 of file fastsumS2.c.
Referenced by main().
|
inlinestatic |
Evaluates the singularity kernel at a node
.
Definition at line 113 of file fastsumS2.c.
Referenced by main().
|
inlinestatic |
Evaluates the locally supported kernel at a node
.
Definition at line 131 of file fastsumS2.c.
Referenced by main().
|
inlinestatic |
Evaluates the spherical Gaussian kernel at a node
.
Definition at line 149 of file fastsumS2.c.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
The main program.
argc | The number of arguments |
argv | An array containing the arguments as C-strings |
Definition at line 164 of file fastsumS2.c.
References nfsft_plan::f, nfsft_plan::f_hat, gaussianKernel(), innerProduct(), KT_ABEL_POISSON, KT_GAUSSIAN, KT_LOC_SUPP, KT_SINGULARITY, locallySupportedKernel(), nfft_free(), nfft_malloc(), NFFT_MAX, nfft_smbi(), PI, poissonKernel(), singularityKernel(), and nfsft_plan::x.