#include <ssht/ssht.h>
Go to the source code of this file.
|
#define | PI 3.141592653589793238462643383279502884197 |
|
#define | MIN(a, b) ((a) < (b) ? (a) : (b)) |
|
#define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
|
#define | ABS(a) ((a) > (0.0) ? (a) : (-(a))) |
|
|
double | s2let_math_kappa0_quadtrap_s2dw (double a, double b, int n, double B) |
|
double | s2let_math_kappa0_quadtrap_needlet (double a, double b, int n) |
|
double | s2let_math_spline_scalingfct (double x, double y) |
|
double | ran2_dp (int idum) |
|
double | maxerr_cplx (S2LET_COMPLEX(double) *a, S2LET_COMPLEX(double) *b, int size) |
|
double | maxerr (double *a, double *b, int size) |
|
unsigned long | binomial_coefficient (int n, int k, int exact) |
|
◆ ABS
#define ABS |
( |
|
a | ) |
((a) > (0.0) ? (a) : (-(a))) |
◆ MAX
#define MAX |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) > (b) ? (a) : (b)) |
◆ MIN
#define MIN |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) < (b) ? (a) : (b)) |
◆ PI
#define PI 3.141592653589793238462643383279502884197 |
◆ binomial_coefficient()
unsigned long binomial_coefficient |
( |
int |
n, |
|
|
int |
k, |
|
|
int |
exact |
|
) |
| |
Computes the binomial coefficient "n choose k".
- Parameters
-
[in] | n | Number of elements to choose from |
[in] | k | Number of elements to pick |
[in] | exact | 0 for approximate computation 1 for exact computation |
- Return values
-
Number | of possible subsets |
exact implementation
◆ maxerr()
double maxerr |
( |
double * |
a, |
|
|
double * |
b, |
|
|
int |
size |
|
) |
| |
Max absolute error between two real arrays
◆ maxerr_cplx()
◆ ran2_dp()
double ran2_dp |
( |
int |
idum | ) |
|
Random number from seed (Numerical Recipes).
◆ s2let_math_kappa0_quadtrap_needlet()
double s2let_math_kappa0_quadtrap_needlet |
( |
double |
a, |
|
|
double |
b, |
|
|
int |
n |
|
) |
| |
Computes smooth "Schwartz" functions for needlets
◆ s2let_math_kappa0_quadtrap_s2dw()
double s2let_math_kappa0_quadtrap_s2dw |
( |
double |
a, |
|
|
double |
b, |
|
|
int |
n, |
|
|
double |
B |
|
) |
| |
Computes smooth "Schwartz" functions for scale-discretised wavelets
◆ s2let_math_spline_scalingfct()
double s2let_math_spline_scalingfct |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
Computes spline scaling function