6 #ifndef nf_Legendre_h_included
7 #define nf_Legendre_h_included
12 #if defined __cplusplus
17 #define nf_Legendre_minMaxOrder 4
18 #define nf_Legendre_maxMaxOrder 64
19 #define nf_Legendre_sizeIncrement 8
55 #if defined __cplusplus
nf_Legendre * nf_Legendre_new(int initialSize, int maxOrder, double *Cls, nfu_status *status)
nfu_status nf_Legendre_setCl(nf_Legendre *Legendre, int l, double Cl)
nfu_status nf_Legendre_release(nf_Legendre *nfL)
Float_t x1[n_points_granero]
nfu_status nf_Legendre_reallocateCls(nf_Legendre *Legendre, int size, int forceSmallerResize)
nf_Legendre * nf_Legendre_clone(nf_Legendre *nfL, nfu_status *status)
nfu_status nf_Legendre_setup(nf_Legendre *nfL, int initialSize, int maxOrder)
int nf_Legendre_maxOrder(nf_Legendre *Legendre)
double nf_Legendre_PofL_atMu(int l, double mu)
nfu_status nf_Legendre_normalize(nf_Legendre *Legendre)
ptwXYPoints * nf_Legendre_to_ptwXY(nf_Legendre *nfL, double accuracy, int biSectionMax, int checkForRoots, nfu_status *status)
nf_Legendre * nf_Legendre_free(nf_Legendre *nfL)
enum nfu_status_e nfu_status
nfu_status(* nf_Legendre_GaussianQuadrature_callback)(double x, double *y, void *argList)
double nf_Legendre_getCl(nf_Legendre *Legendre, int l, nfu_status *status)
static constexpr double degree
nfu_status nf_Legendre_GaussianQuadrature(int degree, double x1, double x2, nf_Legendre_GaussianQuadrature_callback func, void *argList, double *integral)
double nf_Legendre_evauluateAtMu(nf_Legendre *nfL, double mu, nfu_status *status)
Float_t x2[n_points_geant4]
nf_Legendre * nf_Legendre_from_ptwXY(ptwXYPoints *ptwXY, int maxOrder, nfu_status *status)
int nf_Legendre_allocated(nf_Legendre *Legendre)