NumPy参考 >例行程序 >Polynomials >Polynomial Package >Hermite单元,“物理学家”(numpy.polynomial.hermite) > numpy.polynomial.hermite.Hermite
numpy.polynomial.hermite.
Hermite
(coef, domain=None, window=None)[source]¶An Hermite series class.
The Hermite class provides the standard Python numerical methods
‘+’, ‘-‘, ‘*’, ‘//’, ‘%’, ‘divmod’, ‘**’, and ‘()’ as well as the
attributes and methods listed in the ABCPolyBase
documentation.
Hermite coefficients in order of increasing degree, i.e,
(1, 2, 3)
gives 1*H_0(x) + 2*H_1(X) + 3*H_2(x)
.
Domain to use. The interval [domain[0], domain[1]]
is mapped
to the interval [window[0], window[1]]
by shifting and scaling.
The default value is [-1, 1].
Window, see domain
for its use. The default value is [-1, 1].
New in version 1.6.0.
Methods
|
Call self as a function. |
|
Series basis polynomial of degree deg. |
|
Convert series to series of this class. |
|
Convert series to a different kind and/or domain and/or window. |
|
Return a copy. |
|
Truncate series to the given degree. |
|
The degree of the series. |
|
Differentiate. |
|
Least squares fit to data. |
|
Return series instance that has the specified roots. |
|
Check if coefficients match. |
|
Check if domains match. |
|
Check if types match. |
|
Check if windows match. |
|
Identity function. |
|
Integrate. |
|
Return x, y values at equally spaced points in domain. |
|
Return the mapping parameters. |
|
Return the roots of the series polynomial. |
|
Remove trailing coefficients |
|
Truncate series to length size. |