This class implements a special subset of polynomials
![]() | hermite_polynomial (IML_USINT POrder, IML_DOUBLE Sigma = IML_SQRT2) The only constructor |
![]() | operator() (IML_DOUBLE XVal) Hide the other evaluation method |
This class implements a special subset of polynomials. This class is why I created polynomials in the first place. I wanted derivative of Gaussians, and the Nth derivative of a Gaussian is just the Nth order Hermite multiplied by the original Gaussian. Cool, huh? :-) I did go to the trouble of serializing the recursive definitionH(n) = x * H(n-1) - (n-1) * H(n-2)of the Hermite in order to avoid estimating required stack space. That was fun. ;-)
(sqrt(2)/SDev)**POrderwhere DerivativeOrder == POrder and '**' denotes exponentiation.
IML_DOUBLE operator()(IML_DOUBLE XVal)
generated by doc++