Description Usage Arguments Details
Procedure that computes the associated Legendre function, P_{n,m}(mu), given a sequence of (degree, order) indices and function argument mu. This is computed via a closed-form equation.
1 | .CalcLegendre(mu)
|
mu |
Function argument to P_{n,m}(mu) |
The underlying equation used is:
P(x, n, m)=(-1)^m * 2^n * (1-x^2)^(m/2) * sum(for m <= k <= n: k!/(k-m)! * x^(k-m) * choose(n, k) * choose((n+k-1)/2, n))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.