|
|
◆ hermite()
| double hermite |
( |
unsigned int |
n, |
|
|
double |
x |
|
) |
| |
Hermite polynomial Hn(x)
- Purpose
- hermite computes the Hermite polynomial of x.
Hn(x) = (-1)^n e^(x^2) dn/dxn(e^(-x^2))
- Returns
- Hermite polynomial Hn(x).
- Parameters
-
| [in] | n | Argument n. |
| [in] | x | Argument x. |
- Error handling
- Range error (ERANGE) may occur.
- 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
|