Hermite Module, “Physicists’” (numpy.polynomial.hermite)

New in version 1.6.0.

This module provides a number of objects (mostly functions) useful for dealing with Hermite series, including a Hermite class that encapsulates the usual arithmetic operations. (General information on how this module represents and works with such polynomials is in the docstring for its “parent” sub-package, numpy.polynomial).

Hermite Class

Hermite(coef[, domain, window]) A Hermite series class.

Basics

hermval(x, cs) Evaluate a Hermite series.
hermval2d
hermval3d
hermgrid2d
hermgrid3d
hermroots(cs) Compute the roots of a Hermite series.
hermfromroots(roots) Generate a Hermite series with the given roots.

Fitting

hermfit(x, y, deg[, rcond, full, w]) Least squares fit of Hermite series to data.
hermvander(x, deg) Vandermonde matrix of given degree.
hermvander2d
hermvander3d

Calculus

hermder(cs[, m, scl]) Differentiate a Hermite series.
hermint(cs[, m, k, lbnd, scl]) Integrate a Hermite series.

Algebra

hermadd(c1, c2) Add one Hermite series to another.
hermsub(c1, c2) Subtract one Hermite series from another.
hermmul(c1, c2) Multiply one Hermite series by another.
hermmulx(cs) Multiply a Hermite series by x.
hermdiv(c1, c2) Divide one Hermite series by another.
hermpow(cs, pow[, maxpower]) Raise a Hermite series to a power.

Quadrature

hermgauss
hermweight

Miscellaneous

hermcompanion(cs) Return the scaled companion matrix of cs.
hermdomain
hermzero
hermone
hermx
hermtrim(c[, tol]) Remove “small” “trailing” coefficients from a polynomial.
hermline(off, scl) Hermite series whose graph is a straight line.
herm2poly(cs) Convert a Hermite series to a polynomial.
poly2herm(pol) Convert a polynomial to a Hermite series.