powered by
Functions to compute Hermite polynomials.
hermite(n, x)hermite_next(n, x, Hn, Hnm1)
hermite_next(n, x, Hn, Hnm1)
A single numeric value with the computed Hermite polynomial or its next value.
Degree of the polynomial
Argument of the polynomial
Value of the Hermite polynomial \((H_n(x))\)
Value of the Hermite polynomial \((H_{n-1}(x))\)
Boost Documentation for more details on the mathematical background.
# Hermite polynomial H_2(0.5) hermite(2, 0.5) # Next Hermite polynomial H_3(0.5) using H_2(0.5) and H_1(0.5) hermite_next(2, 0.5, hermite(2, 0.5), hermite(1, 0.5))
Run the code above in your browser using DataLab