S2kit
1.1
Toolkit for working with functions defined on the sphere
|
Go to the source code of this file.
Functions | |
void | GeneratePmlTable (const int, const int, double *, double *) |
Generates all of the Pmls for a specified value of m . More... | |
void GeneratePmlTable | ( | const int | bw, |
const int | m, | ||
double * | pml_table, | ||
double * | workspace | ||
) |
Generates all of the Pmls for a specified value of m
.
P(m,l,j)
respresents the associated Legendre function P_l^m
evaluated at the j-th Chebyshev point (for the bandwidth bw
): cos((2 * j + 1) * PI / (2 * bw))
.
The array is placed in pml_table
as follows:
This array will eventually be used by the naive transform algorithm (see naive.c).
This function will precompute the arrays necessary for the algorithm.
bw | bandwidth |
m | order |
pml_table | result array with generated Pmls of size 2*bw* (bw-m) |
workspace | space for computations of size 16*bw |