17 return sqrt(3.0) * (2 * x - 1)
24 return sqrt(5.0) * (6 * x * x - 6 * x + 1)
31 return sqrt(7.0) * (20 * x * x * x - 30 * x * x + 12 * x - 1)
39 t1 = sqrt(4 * i * i - 1) / i
40 t2 = (i-1)*sqrt(2*i+1)/(i*sqrt(2*i-3))
49 t1 = sqrt(4 * i * i - 1) / i
50 t2 = (i-1)*sqrt(2*i+1)/(i*sqrt(2*i-3))
59 t1 = sqrt(4 * i * i - 1) / i
60 t2 = (i-1)*sqrt(2*i+1)/(i*sqrt(2*i-3))
69 t1 = sqrt(4 * i * i - 1) / i
70 t2 = (i-1)*sqrt(2*i+1)/(i*sqrt(2*i-3))
def legendre04(x)
Implements the transformed Legendre polynomials of degree 4.
def legendre00(x)
Implements the transformed Legendre polynomials of degree 0 .
def legendre06(x)
Implements the transformed Legendre polynomials of degree 6.
def legendre01(x)
Implements the transformed Legendre polynomials of degree 1 .
def legendre02(x)
Implements the transformed Legendre polynomials of degree 2 .
def legendre05(x)
Implements the transformed Legendre polynomials of degree 5.
def legendre03(x)
Implements the transformed Legendre polynomials of degree 3 .
def legendre07(x)
Implements the transformed Legendre polynomials of degree 7.