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

◆ 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]nArgument n.
[in]xArgument 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