|
|
◆ laguerre()
| double laguerre |
( |
unsigned int |
n, |
|
|
double |
x |
|
) |
| |
Laguerre polynomial Ln(x)
- Purpose
- laguerre computes the Laguerre polynomial of x.
Ln(x) = e^x/n! dn/dxn(x^n e^(-x))
- Returns
- Laguerre polynomial Ln(x).
- Parameters
-
| [in] | n | Degree of polynomial n. |
| [in] | x | Argument 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. Further the relative errors are likely to grow arbitrarily large when the function is very close to a root.
- Reference
- boost/math/special_functions
|