Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

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

  • P2(x)=3x22−12\displaystyle \mathrm{P}_{2}(x) = \frac{3 x^{2}}{2}-\frac{1}{2}
    legendre_p(2, x)

    In the solver, legendre_p(2, x) gives 3x^2/2 - 1/2.

    Open in the solver
  • 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.