Skip to main content

normalized_associated_legendre

Function normalized_associated_legendre 

Source
pub fn normalized_associated_legendre(l: u32, m: u32, x: f64) -> f64
Expand description

The fully normalized P̄_l^m(x) = √((2l+1)/(4π) · (l−m)!/(l+m)!) P_l^m(x) for m ≥ 0, so that Y_l^m(θ, φ) = P̄_l^m(cos θ) e^{imφ}. Computed by the normalized recurrence, which is stable and free of overflow for degrees into the thousands.