Legendre polynomial (legendre_p)
Legendre polynomial.
How to write it
legendre_p(n, x)
- n
- The degree. Takes a whole number.
- x
- The variable. Takes an expression.
Examples
legendre_p(2, x)In the solver,
Open in the solverlegendre_p(2, x)gives3x^2/2 - 1/2.
Related functions
- legendre_q
Legendre function of the second kind.
- lambert_w
Lambert W function: the inverse of w exp(w), on its principal branch.
- lerch_phi
Lerch transcendent: the sum of z^k / (k + a)^s over k from 0.
- laguerre_l
Laguerre polynomial.
- log_gamma
Logarithm of the gamma function.
- kronecker_delta
Kronecker delta: 1 when the arguments are equal, otherwise 0.