XLPack 7.0
XLPack Numerical Library (Excel Worksheet Functions) Reference Manual
Loading...
Searching...
No Matches

◆ WAlegendre()

Function WAlegendre ( N As  Long,
M As  Long,
X As  Double 
)

Associated Legendre polynomial Pn(x)

Purpose
This function computes the associated Legendre polynomial.
Pnm(x) = (-1)^m (1 - x^2)^(m/2) dm/dxm Pn(x)
Note that the term (-1)^m may not be included depending on the definition.
Returns
Associated Legendre polynomial Pnm(x).
Parameters
[in]NArgument n. (0 <= N < 128)
[in]MArgument m. (0 <= M <= N)
[in]XArgument x (|X| <= 1).
Reference
boost/math/special_functions