Hermite polynomials #
This file defines Polynomial.hermite n
, the n
th probabilists' Hermite polynomial.
Main definitions #
Polynomial.hermite n
: then
th probabilists' Hermite polynomial, defined recursively as aPolynomial ℤ
Results #
Polynomial.hermite_succ
: the recursionhermite (n+1) = (x - d/dx) (hermite n)
Polynomial.coeff_hermite_explicit
: a closed formula for (nonvanishing) coefficients in terms of binomial coefficients and double factorials.Polynomial.coeff_hermite_of_odd_add
: forn
,k
wheren+k
is odd,(hermite n).coeff k
is zero.Polynomial.coeff_hermite_of_even_add
: a closed formula for(hermite n).coeff k
whenn+k
is even, equivalent toPolynomial.coeff_hermite_explicit
.Polynomial.monic_hermite
: for alln
,hermite n
is monic.Polynomial.degree_hermite
: for alln
,hermite n
has degreen
.
References #
the probabilists' Hermite polynomials.
Equations
- Polynomial.hermite 0 = 1
- Polynomial.hermite n.succ = Polynomial.X * Polynomial.hermite n - Polynomial.derivative (Polynomial.hermite n)