Skip to main content

associated_laguerre

Function associated_laguerre 

Source
pub fn associated_laguerre(p: u32, k: u32, x: f64) -> f64
Expand description

Evaluates generalized Laguerre polynomial $L_p^k(x)$ using an iterative three-term recurrence.

$$(i + 1) L_{i+1}^k(x) = (2i + 1 + k - x) L_i^k(x) - (i + k) L_{i-1}^k(x)$$

Completely zero-heap and non-recursive.