Chi-Tech
legendrepoly.h
Go to the documentation of this file.
1#ifndef _legendrepoly_h
2#define _legendrepoly_h
3
4//###################################################################
5/**Container object for functions relating to Legendre polynomials.*/
6namespace chi_math
7{
8 double Legendre(int N, double x);
9 double dLegendredx(int N, double x);
10 double d2Legendredx2(int N, double x);
11
12 double AssocLegendre(unsigned int ell, int m, double x);
13
14 double Ylm(unsigned int ell, int m, double varphi, double theta);
15}
16
17
18#endif
double d2Legendredx2(int N, double x)
Definition: legendrepoly.cc:54
double dLegendredx(int N, double x)
Definition: legendrepoly.cc:37
double Ylm(unsigned int ell, int m, double varphi, double theta)
double AssocLegendre(unsigned int ell, int m, double x)
double Legendre(int N, double x)
Definition: legendrepoly.cc:11