hermite
Hermite polynomial H_n(x).
Syntax
Section titled “Syntax”P = hermite(x, n)Description
Section titled “Description”Returns the physicist’s Hermite polynomial of degree n evaluated at x. Used in quantum-harmonic-oscillator wavefunctions and probabilistic Gauss-Hermite quadrature.
Example
Section titled “Example”hermite(1.0, 3) % H_3(1) = 8 - 12 = -4See also
Section titled “See also”legendre— Associated Legendre functions P_n^m(x).