XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ alaguerre()

double alaguerre ( unsigned int  n,
unsigned int  m,
double  x 
)

Associated Laguerre polynomial Lnm(x)

Purpose
alaguerre computes the associated Laguerre polynomial of x.
Lnm(x) = (-1)^m dm/dxm Ln+m(x)
Returns
Associated Laguerre polynomial Lnm(x).
Parameters
[in]nDegree of polynomial n.
[in]mOrder of polynomial m.
[in]xArgument x.
Error handling
  • Range error (ERANGE) may be reported.
Note
Note that the worst errors occur when the degree increases, values greater than ~120 are very unlikely to produce sensible results, especially when the order is also large. Further the relative errors are likely to grow arbitrarily large when the function is very close to a root.
Reference
boost/math/special_functions