You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lightweight C++ library for calculating Gauss-Laguerre quadrature abscissas and weights.
This package is based on the algorithms described in:
W. H. Press, S. A. Teukolsky, W. T. Vetterling, B. P. Flannery, Numerical Recipes: The Art of Scientific Computing, Third Edition, Cambridge University Press, 2007.
Gauss-Laguerre Quadrature
The Gauss-Laguerre approximates the following improper integral:
Where $L_n^{'\alpha}(x_k)$ is the polynomial derivative through:
$$L_n^{'\alpha}(x_k) = \frac{nL_n^{\alpha}(x_k) - (n + \alpha)L_{n-2}^{\alpha}(x_k)}{x_k}$$
Once the approximation changes less than the defined NEWTON_EPSILON, the root is saved as $x_i$.
Initial guess
The Newton-Raphson method requires an initial guess defined as the following: