4 #ifndef QPMS_SPECFUNC_H
5 #define QPMS_SPECFUNC_H
7 #include <gsl/gsl_sf_legendre.h>
28 double x, complex
double *result_array);
32 complex
double x, complex
double *result_array);
45 qpms_errno_t qpms_legendre_deriv_y_get(
double **result,
double **result_deriv,
double x,
qpms_l_t lMax,
46 gsl_sf_legendre_t lnorm,
double csphase);
47 qpms_errno_t qpms_legendre_deriv_y_fill(
double *where,
double *where_deriv,
double x,
48 qpms_l_t lMax, gsl_sf_legendre_t lnorm,
double csphase);
68 double *leg, *pi, *tau;
98 double theta,
qpms_l_t lMax,
double csphase);
106 double qpms_legendre0(
int m,
int n);
108 double qpms_legendred0(
int m,
int n);
void qpms_pitau_free(qpms_pitau_t)
Frees the dynamically allocated arrays from qpms_pitau_t.
Definition: legendre.c:119
qpms_errno_t qpms_pitau_fill(double *target_leg, double *target_pi, double *target_tau, double theta, qpms_l_t lMax, double csphase)
Directly fills (pre-allocated) arrays of normalised Legendre and auxillary functions.
Definition: legendre.c:65
qpms_pitau_t qpms_pitau_get(double theta, qpms_l_t lMax, double csphase)
Returns an array of normalised Legendre and auxillary functions.
Definition: legendre.c:54
qpms_normalisation_t
Vector spherical wavefuction normalisation and phase convention codes.
Definition: qpms_types.h:104
int qpms_l_t
Type for spherical harmonic degree l.
Definition: qpms_types.h:27
qpms_errno_t
Error codes / return values for certain numerical functions.
Definition: qpms_types.h:85
qpms_bessel_t
Bessel function kinds.
Definition: qpms_types.h:176
Array of Legendre and and auxillary functions.
Definition: qpms_specfunc.h:64
Definition: qpms_specfunc.h:18