doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
numpy.polynomial.hermite.hermdomain polynomial.hermite.hermdomain = array([-1, 1])
An array object represents a multidimensional, homogeneous array of fixed-size items. An associated data-type object describes the format of each element in the array (its byte-order, how many bytes it occupies in memory, whether it ... | numpy.reference.generated.numpy.polynomial.hermite.hermdomain |
numpy.polynomial.hermite.hermfit polynomial.hermite.hermfit(x, y, deg, rcond=None, full=False, w=None)[source]
Least squares fit of Hermite series to data. Return the coefficients of a Hermite series of degree deg that is the least squares fit to the data values y given at points x. If y is 1-D the returned coeffic... | numpy.reference.generated.numpy.polynomial.hermite.hermfit |
numpy.polynomial.hermite.hermfromroots polynomial.hermite.hermfromroots(roots)[source]
Generate a Hermite series with given roots. The function returns the coefficients of the polynomial \[p(x) = (x - r_0) * (x - r_1) * ... * (x - r_n),\] in Hermite form, where the r_n are the roots specified in roots. If a zero h... | numpy.reference.generated.numpy.polynomial.hermite.hermfromroots |
numpy.polynomial.hermite.hermgauss polynomial.hermite.hermgauss(deg)[source]
Gauss-Hermite quadrature. Computes the sample points and weights for Gauss-Hermite quadrature. These sample points and weights will correctly integrate polynomials of degree \(2*deg - 1\) or less over the interval \([-\inf, \inf]\) with th... | numpy.reference.generated.numpy.polynomial.hermite.hermgauss |
numpy.polynomial.hermite.hermgrid2d polynomial.hermite.hermgrid2d(x, y, c)[source]
Evaluate a 2-D Hermite series on the Cartesian product of x and y. This function returns the values: \[p(a,b) = \sum_{i,j} c_{i,j} * H_i(a) * H_j(b)\] where the points (a, b) consist of all pairs formed by taking a from x and b from... | numpy.reference.generated.numpy.polynomial.hermite.hermgrid2d |
numpy.polynomial.hermite.hermgrid3d polynomial.hermite.hermgrid3d(x, y, z, c)[source]
Evaluate a 3-D Hermite series on the Cartesian product of x, y, and z. This function returns the values: \[p(a,b,c) = \sum_{i,j,k} c_{i,j,k} * H_i(a) * H_j(b) * H_k(c)\] where the points (a, b, c) consist of all triples formed by... | numpy.reference.generated.numpy.polynomial.hermite.hermgrid3d |
numpy.polynomial.hermite.hermint polynomial.hermite.hermint(c, m=1, k=[], lbnd=0, scl=1, axis=0)[source]
Integrate a Hermite series. Returns the Hermite series coefficients c integrated m times from lbnd along axis. At each iteration the resulting series is multiplied by scl and an integration constant, k, is added... | numpy.reference.generated.numpy.polynomial.hermite.hermint |
numpy.polynomial.hermite.Hermite.__call__ method polynomial.hermite.Hermite.__call__(arg)[source]
Call self as a function. | numpy.reference.generated.numpy.polynomial.hermite.hermite.__call__ |
numpy.polynomial.hermite.Hermite.basis method classmethod polynomial.hermite.Hermite.basis(deg, domain=None, window=None)[source]
Series basis polynomial of degree deg. Returns the series representing the basis polynomial of degree deg. New in version 1.7.0. Parameters
degint
Degree of the basis polynomial ... | numpy.reference.generated.numpy.polynomial.hermite.hermite.basis |
numpy.polynomial.hermite.Hermite.cast method classmethod polynomial.hermite.Hermite.cast(series, domain=None, window=None)[source]
Convert series to series of this class. The series is expected to be an instance of some polynomial series of one of the types supported by by the numpy.polynomial module, but could be ... | numpy.reference.generated.numpy.polynomial.hermite.hermite.cast |
numpy.polynomial.hermite.Hermite.convert method polynomial.hermite.Hermite.convert(domain=None, kind=None, window=None)[source]
Convert series to a different kind and/or domain and/or window. Parameters
domainarray_like, optional
The domain of the converted series. If the value is None, the default domain of ... | numpy.reference.generated.numpy.polynomial.hermite.hermite.convert |
numpy.polynomial.hermite.Hermite.copy method polynomial.hermite.Hermite.copy()[source]
Return a copy. Returns
new_seriesseries
Copy of self. | numpy.reference.generated.numpy.polynomial.hermite.hermite.copy |
numpy.polynomial.hermite.Hermite.cutdeg method polynomial.hermite.Hermite.cutdeg(deg)[source]
Truncate series to the given degree. Reduce the degree of the series to deg by discarding the high order terms. If deg is greater than the current degree a copy of the current series is returned. This can be useful in leas... | numpy.reference.generated.numpy.polynomial.hermite.hermite.cutdeg |
numpy.polynomial.hermite.Hermite.degree method polynomial.hermite.Hermite.degree()[source]
The degree of the series. New in version 1.5.0. Returns
degreeint
Degree of the series, one less than the number of coefficients. | numpy.reference.generated.numpy.polynomial.hermite.hermite.degree |
numpy.polynomial.hermite.Hermite.deriv method polynomial.hermite.Hermite.deriv(m=1)[source]
Differentiate. Return a series instance of that is the derivative of the current series. Parameters
mnon-negative int
Find the derivative of order m. Returns
new_seriesseries
A new series representing the deriv... | numpy.reference.generated.numpy.polynomial.hermite.hermite.deriv |
numpy.polynomial.hermite.Hermite.domain attribute polynomial.hermite.Hermite.domain = array([-1, 1]) | numpy.reference.generated.numpy.polynomial.hermite.hermite.domain |
numpy.polynomial.hermite.Hermite.fit method classmethod polynomial.hermite.Hermite.fit(x, y, deg, domain=None, rcond=None, full=False, w=None, window=None)[source]
Least squares fit to data. Return a series instance that is the least squares fit to the data y sampled at x. The domain of the returned instance can be... | numpy.reference.generated.numpy.polynomial.hermite.hermite.fit |
numpy.polynomial.hermite.Hermite.fromroots method classmethod polynomial.hermite.Hermite.fromroots(roots, domain=[], window=None)[source]
Return series instance that has the specified roots. Returns a series representing the product (x - r[0])*(x - r[1])*...*(x - r[n-1]), where r is a list of roots. Parameters
... | numpy.reference.generated.numpy.polynomial.hermite.hermite.fromroots |
numpy.polynomial.hermite.Hermite.has_samecoef method polynomial.hermite.Hermite.has_samecoef(other)[source]
Check if coefficients match. New in version 1.6.0. Parameters
otherclass instance
The other class must have the coef attribute. Returns
boolboolean
True if the coefficients are the same, False... | numpy.reference.generated.numpy.polynomial.hermite.hermite.has_samecoef |
numpy.polynomial.hermite.Hermite.has_samedomain method polynomial.hermite.Hermite.has_samedomain(other)[source]
Check if domains match. New in version 1.6.0. Parameters
otherclass instance
The other class must have the domain attribute. Returns
boolboolean
True if the domains are the same, False oth... | numpy.reference.generated.numpy.polynomial.hermite.hermite.has_samedomain |
numpy.polynomial.hermite.Hermite.has_sametype method polynomial.hermite.Hermite.has_sametype(other)[source]
Check if types match. New in version 1.7.0. Parameters
otherobject
Class instance. Returns
boolboolean
True if other is same class as self | numpy.reference.generated.numpy.polynomial.hermite.hermite.has_sametype |
numpy.polynomial.hermite.Hermite.has_samewindow method polynomial.hermite.Hermite.has_samewindow(other)[source]
Check if windows match. New in version 1.6.0. Parameters
otherclass instance
The other class must have the window attribute. Returns
boolboolean
True if the windows are the same, False oth... | numpy.reference.generated.numpy.polynomial.hermite.hermite.has_samewindow |
numpy.polynomial.hermite.Hermite.identity method classmethod polynomial.hermite.Hermite.identity(domain=None, window=None)[source]
Identity function. If p is the returned series, then p(x) == x for all values of x. Parameters
domain{None, array_like}, optional
If given, the array must be of the form [beg, end... | numpy.reference.generated.numpy.polynomial.hermite.hermite.identity |
numpy.polynomial.hermite.Hermite.integ method polynomial.hermite.Hermite.integ(m=1, k=[], lbnd=None)[source]
Integrate. Return a series instance that is the definite integral of the current series. Parameters
mnon-negative int
The number of integrations to perform.
karray_like
Integration constants. The f... | numpy.reference.generated.numpy.polynomial.hermite.hermite.integ |
numpy.polynomial.hermite.Hermite.linspace method polynomial.hermite.Hermite.linspace(n=100, domain=None)[source]
Return x, y values at equally spaced points in domain. Returns the x, y values at n linearly spaced points across the domain. Here y is the value of the polynomial at the points x. By default the domain ... | numpy.reference.generated.numpy.polynomial.hermite.hermite.linspace |
numpy.polynomial.hermite.Hermite.mapparms method polynomial.hermite.Hermite.mapparms()[source]
Return the mapping parameters. The returned values define a linear map off + scl*x that is applied to the input arguments before the series is evaluated. The map depends on the domain and window; if the current domain is ... | numpy.reference.generated.numpy.polynomial.hermite.hermite.mapparms |
numpy.polynomial.hermite.Hermite.roots method polynomial.hermite.Hermite.roots()[source]
Return the roots of the series polynomial. Compute the roots for the series. Note that the accuracy of the roots decrease the further outside the domain they lie. Returns
rootsndarray
Array containing the roots of the ser... | numpy.reference.generated.numpy.polynomial.hermite.hermite.roots |
numpy.polynomial.hermite.Hermite.trim method polynomial.hermite.Hermite.trim(tol=0)[source]
Remove trailing coefficients Remove trailing coefficients until a coefficient is reached whose absolute value greater than tol or the beginning of the series is reached. If all the coefficients would be removed the series is... | numpy.reference.generated.numpy.polynomial.hermite.hermite.trim |
numpy.polynomial.hermite.Hermite.truncate method polynomial.hermite.Hermite.truncate(size)[source]
Truncate series to length size. Reduce the series to length size by discarding the high degree terms. The value of size must be a positive integer. This can be useful in least squares where the coefficients of the hig... | numpy.reference.generated.numpy.polynomial.hermite.hermite.truncate |
numpy.polynomial.hermite.hermline polynomial.hermite.hermline(off, scl)[source]
Hermite series whose graph is a straight line. Parameters
off, sclscalars
The specified line is given by off + scl*x. Returns
yndarray
This module’s representation of the Hermite series for off + scl*x. See also nump... | numpy.reference.generated.numpy.polynomial.hermite.hermline |
numpy.polynomial.hermite.hermmul polynomial.hermite.hermmul(c1, c2)[source]
Multiply one Hermite series by another. Returns the product of two Hermite series c1 * c2. The arguments are sequences of coefficients, from lowest order “term” to highest, e.g., [1,2,3] represents the series P_0 + 2*P_1 + 3*P_2. Parameter... | numpy.reference.generated.numpy.polynomial.hermite.hermmul |
numpy.polynomial.hermite.hermmulx polynomial.hermite.hermmulx(c)[source]
Multiply a Hermite series by x. Multiply the Hermite series c by x, where x is the independent variable. Parameters
carray_like
1-D array of Hermite series coefficients ordered from low to high. Returns
outndarray
Array represent... | numpy.reference.generated.numpy.polynomial.hermite.hermmulx |
numpy.polynomial.hermite.hermone polynomial.hermite.hermone = array([1])
An array object represents a multidimensional, homogeneous array of fixed-size items. An associated data-type object describes the format of each element in the array (its byte-order, how many bytes it occupies in memory, whether it is an inte... | numpy.reference.generated.numpy.polynomial.hermite.hermone |
numpy.polynomial.hermite.hermpow polynomial.hermite.hermpow(c, pow, maxpower=16)[source]
Raise a Hermite series to a power. Returns the Hermite series c raised to the power pow. The argument c is a sequence of coefficients ordered from low to high. i.e., [1,2,3] is the series P_0 + 2*P_1 + 3*P_2. Parameters
car... | numpy.reference.generated.numpy.polynomial.hermite.hermpow |
numpy.polynomial.hermite.hermroots polynomial.hermite.hermroots(c)[source]
Compute the roots of a Hermite series. Return the roots (a.k.a. “zeros”) of the polynomial \[p(x) = \sum_i c[i] * H_i(x).\] Parameters
c1-D array_like
1-D array of coefficients. Returns
outndarray
Array of the roots of the ser... | numpy.reference.generated.numpy.polynomial.hermite.hermroots |
numpy.polynomial.hermite.hermsub polynomial.hermite.hermsub(c1, c2)[source]
Subtract one Hermite series from another. Returns the difference of two Hermite series c1 - c2. The sequences of coefficients are from lowest order term to highest, i.e., [1,2,3] represents the series P_0 + 2*P_1 + 3*P_2. Parameters
c1,... | numpy.reference.generated.numpy.polynomial.hermite.hermsub |
numpy.polynomial.hermite.hermtrim polynomial.hermite.hermtrim(c, tol=0)[source]
Remove “small” “trailing” coefficients from a polynomial. “Small” means “small in absolute value” and is controlled by the parameter tol; “trailing” means highest order coefficient(s), e.g., in [0, 1, 1, 0, 0] (which represents 0 + x + ... | numpy.reference.generated.numpy.polynomial.hermite.hermtrim |
numpy.polynomial.hermite.hermval polynomial.hermite.hermval(x, c, tensor=True)[source]
Evaluate an Hermite series at points x. If c is of length n + 1, this function returns the value: \[p(x) = c_0 * H_0(x) + c_1 * H_1(x) + ... + c_n * H_n(x)\] The parameter x is converted to an array only if it is a tuple or a li... | numpy.reference.generated.numpy.polynomial.hermite.hermval |
numpy.polynomial.hermite.hermval2d polynomial.hermite.hermval2d(x, y, c)[source]
Evaluate a 2-D Hermite series at points (x, y). This function returns the values: \[p(x,y) = \sum_{i,j} c_{i,j} * H_i(x) * H_j(y)\] The parameters x and y are converted to arrays only if they are tuples or a lists, otherwise they are ... | numpy.reference.generated.numpy.polynomial.hermite.hermval2d |
numpy.polynomial.hermite.hermval3d polynomial.hermite.hermval3d(x, y, z, c)[source]
Evaluate a 3-D Hermite series at points (x, y, z). This function returns the values: \[p(x,y,z) = \sum_{i,j,k} c_{i,j,k} * H_i(x) * H_j(y) * H_k(z)\] The parameters x, y, and z are converted to arrays only if they are tuples or a l... | numpy.reference.generated.numpy.polynomial.hermite.hermval3d |
numpy.polynomial.hermite.hermvander polynomial.hermite.hermvander(x, deg)[source]
Pseudo-Vandermonde matrix of given degree. Returns the pseudo-Vandermonde matrix of degree deg and sample points x. The pseudo-Vandermonde matrix is defined by \[V[..., i] = H_i(x),\] where 0 <= i <= deg. The leading indices of V ind... | numpy.reference.generated.numpy.polynomial.hermite.hermvander |
numpy.polynomial.hermite.hermvander2d polynomial.hermite.hermvander2d(x, y, deg)[source]
Pseudo-Vandermonde matrix of given degrees. Returns the pseudo-Vandermonde matrix of degrees deg and sample points (x, y). The pseudo-Vandermonde matrix is defined by \[V[..., (deg[1] + 1)*i + j] = H_i(x) * H_j(y),\] where 0 <... | numpy.reference.generated.numpy.polynomial.hermite.hermvander2d |
numpy.polynomial.hermite.hermvander3d polynomial.hermite.hermvander3d(x, y, z, deg)[source]
Pseudo-Vandermonde matrix of given degrees. Returns the pseudo-Vandermonde matrix of degrees deg and sample points (x, y, z). If l, m, n are the given degrees in x, y, z, then The pseudo-Vandermonde matrix is defined by \[V... | numpy.reference.generated.numpy.polynomial.hermite.hermvander3d |
numpy.polynomial.hermite.hermweight polynomial.hermite.hermweight(x)[source]
Weight function of the Hermite polynomials. The weight function is \(\exp(-x^2)\) and the interval of integration is \([-\inf, \inf]\). the Hermite polynomials are orthogonal, but not normalized, with respect to this weight function. Para... | numpy.reference.generated.numpy.polynomial.hermite.hermweight |
numpy.polynomial.hermite.hermx polynomial.hermite.hermx = array([0. , 0.5])
An array object represents a multidimensional, homogeneous array of fixed-size items. An associated data-type object describes the format of each element in the array (its byte-order, how many bytes it occupies in memory, whether it is an i... | numpy.reference.generated.numpy.polynomial.hermite.hermx |
numpy.polynomial.hermite.hermzero polynomial.hermite.hermzero = array([0])
An array object represents a multidimensional, homogeneous array of fixed-size items. An associated data-type object describes the format of each element in the array (its byte-order, how many bytes it occupies in memory, whether it is an in... | numpy.reference.generated.numpy.polynomial.hermite.hermzero |
numpy.polynomial.hermite.poly2herm polynomial.hermite.poly2herm(pol)[source]
Convert a polynomial to a Hermite series. Convert an array representing the coefficients of a polynomial (relative to the “standard” basis) ordered from lowest degree to highest, to an array of the coefficients of the equivalent Hermite se... | numpy.reference.generated.numpy.polynomial.hermite.poly2herm |
numpy.polynomial.hermite_e.herme2poly polynomial.hermite_e.herme2poly(c)[source]
Convert a Hermite series to a polynomial. Convert an array representing the coefficients of a Hermite series, ordered from lowest degree to highest, to an array of the coefficients of the equivalent polynomial (relative to the “standar... | numpy.reference.generated.numpy.polynomial.hermite_e.herme2poly |
numpy.polynomial.hermite_e.hermeadd polynomial.hermite_e.hermeadd(c1, c2)[source]
Add one Hermite series to another. Returns the sum of two Hermite series c1 + c2. The arguments are sequences of coefficients ordered from lowest order term to highest, i.e., [1,2,3] represents the series P_0 + 2*P_1 + 3*P_2. Paramet... | numpy.reference.generated.numpy.polynomial.hermite_e.hermeadd |
numpy.polynomial.hermite_e.hermecompanion polynomial.hermite_e.hermecompanion(c)[source]
Return the scaled companion matrix of c. The basis polynomials are scaled so that the companion matrix is symmetric when c is an HermiteE basis polynomial. This provides better eigenvalue estimates than the unscaled case and fo... | numpy.reference.generated.numpy.polynomial.hermite_e.hermecompanion |
numpy.polynomial.hermite_e.hermeder polynomial.hermite_e.hermeder(c, m=1, scl=1, axis=0)[source]
Differentiate a Hermite_e series. Returns the series coefficients c differentiated m times along axis. At each iteration the result is multiplied by scl (the scaling factor is for use in a linear change of variable). Th... | numpy.reference.generated.numpy.polynomial.hermite_e.hermeder |
numpy.polynomial.hermite_e.hermediv polynomial.hermite_e.hermediv(c1, c2)[source]
Divide one Hermite series by another. Returns the quotient-with-remainder of two Hermite series c1 / c2. The arguments are sequences of coefficients from lowest order “term” to highest, e.g., [1,2,3] represents the series P_0 + 2*P_1 ... | numpy.reference.generated.numpy.polynomial.hermite_e.hermediv |
numpy.polynomial.hermite_e.hermedomain polynomial.hermite_e.hermedomain = array([-1, 1])
An array object represents a multidimensional, homogeneous array of fixed-size items. An associated data-type object describes the format of each element in the array (its byte-order, how many bytes it occupies in memory, wheth... | numpy.reference.generated.numpy.polynomial.hermite_e.hermedomain |
numpy.polynomial.hermite_e.hermefit polynomial.hermite_e.hermefit(x, y, deg, rcond=None, full=False, w=None)[source]
Least squares fit of Hermite series to data. Return the coefficients of a HermiteE series of degree deg that is the least squares fit to the data values y given at points x. If y is 1-D the returned ... | numpy.reference.generated.numpy.polynomial.hermite_e.hermefit |
numpy.polynomial.hermite_e.hermefromroots polynomial.hermite_e.hermefromroots(roots)[source]
Generate a HermiteE series with given roots. The function returns the coefficients of the polynomial \[p(x) = (x - r_0) * (x - r_1) * ... * (x - r_n),\] in HermiteE form, where the r_n are the roots specified in roots. If ... | numpy.reference.generated.numpy.polynomial.hermite_e.hermefromroots |
numpy.polynomial.hermite_e.hermegauss polynomial.hermite_e.hermegauss(deg)[source]
Gauss-HermiteE quadrature. Computes the sample points and weights for Gauss-HermiteE quadrature. These sample points and weights will correctly integrate polynomials of degree \(2*deg - 1\) or less over the interval \([-\inf, \inf]\)... | numpy.reference.generated.numpy.polynomial.hermite_e.hermegauss |
numpy.polynomial.hermite_e.hermegrid2d polynomial.hermite_e.hermegrid2d(x, y, c)[source]
Evaluate a 2-D HermiteE series on the Cartesian product of x and y. This function returns the values: \[p(a,b) = \sum_{i,j} c_{i,j} * H_i(a) * H_j(b)\] where the points (a, b) consist of all pairs formed by taking a from x and... | numpy.reference.generated.numpy.polynomial.hermite_e.hermegrid2d |
numpy.polynomial.hermite_e.hermegrid3d polynomial.hermite_e.hermegrid3d(x, y, z, c)[source]
Evaluate a 3-D HermiteE series on the Cartesian product of x, y, and z. This function returns the values: \[p(a,b,c) = \sum_{i,j,k} c_{i,j,k} * He_i(a) * He_j(b) * He_k(c)\] where the points (a, b, c) consist of all triples... | numpy.reference.generated.numpy.polynomial.hermite_e.hermegrid3d |
numpy.polynomial.hermite_e.hermeint polynomial.hermite_e.hermeint(c, m=1, k=[], lbnd=0, scl=1, axis=0)[source]
Integrate a Hermite_e series. Returns the Hermite_e series coefficients c integrated m times from lbnd along axis. At each iteration the resulting series is multiplied by scl and an integration constant, k... | numpy.reference.generated.numpy.polynomial.hermite_e.hermeint |
numpy.polynomial.hermite_e.hermeline polynomial.hermite_e.hermeline(off, scl)[source]
Hermite series whose graph is a straight line. Parameters
off, sclscalars
The specified line is given by off + scl*x. Returns
yndarray
This module’s representation of the Hermite series for off + scl*x. See also... | numpy.reference.generated.numpy.polynomial.hermite_e.hermeline |
numpy.polynomial.hermite_e.hermemul polynomial.hermite_e.hermemul(c1, c2)[source]
Multiply one Hermite series by another. Returns the product of two Hermite series c1 * c2. The arguments are sequences of coefficients, from lowest order “term” to highest, e.g., [1,2,3] represents the series P_0 + 2*P_1 + 3*P_2. Par... | numpy.reference.generated.numpy.polynomial.hermite_e.hermemul |
numpy.polynomial.hermite_e.hermemulx polynomial.hermite_e.hermemulx(c)[source]
Multiply a Hermite series by x. Multiply the Hermite series c by x, where x is the independent variable. Parameters
carray_like
1-D array of Hermite series coefficients ordered from low to high. Returns
outndarray
Array rep... | numpy.reference.generated.numpy.polynomial.hermite_e.hermemulx |
numpy.polynomial.hermite_e.hermeone polynomial.hermite_e.hermeone = array([1])
An array object represents a multidimensional, homogeneous array of fixed-size items. An associated data-type object describes the format of each element in the array (its byte-order, how many bytes it occupies in memory, whether it is a... | numpy.reference.generated.numpy.polynomial.hermite_e.hermeone |
numpy.polynomial.hermite_e.hermepow polynomial.hermite_e.hermepow(c, pow, maxpower=16)[source]
Raise a Hermite series to a power. Returns the Hermite series c raised to the power pow. The argument c is a sequence of coefficients ordered from low to high. i.e., [1,2,3] is the series P_0 + 2*P_1 + 3*P_2. Parameters ... | numpy.reference.generated.numpy.polynomial.hermite_e.hermepow |
numpy.polynomial.hermite_e.hermeroots polynomial.hermite_e.hermeroots(c)[source]
Compute the roots of a HermiteE series. Return the roots (a.k.a. “zeros”) of the polynomial \[p(x) = \sum_i c[i] * He_i(x).\] Parameters
c1-D array_like
1-D array of coefficients. Returns
outndarray
Array of the roots of... | numpy.reference.generated.numpy.polynomial.hermite_e.hermeroots |
numpy.polynomial.hermite_e.hermesub polynomial.hermite_e.hermesub(c1, c2)[source]
Subtract one Hermite series from another. Returns the difference of two Hermite series c1 - c2. The sequences of coefficients are from lowest order term to highest, i.e., [1,2,3] represents the series P_0 + 2*P_1 + 3*P_2. Parameters ... | numpy.reference.generated.numpy.polynomial.hermite_e.hermesub |
numpy.polynomial.hermite_e.hermetrim polynomial.hermite_e.hermetrim(c, tol=0)[source]
Remove “small” “trailing” coefficients from a polynomial. “Small” means “small in absolute value” and is controlled by the parameter tol; “trailing” means highest order coefficient(s), e.g., in [0, 1, 1, 0, 0] (which represents 0 ... | numpy.reference.generated.numpy.polynomial.hermite_e.hermetrim |
numpy.polynomial.hermite_e.hermeval polynomial.hermite_e.hermeval(x, c, tensor=True)[source]
Evaluate an HermiteE series at points x. If c is of length n + 1, this function returns the value: \[p(x) = c_0 * He_0(x) + c_1 * He_1(x) + ... + c_n * He_n(x)\] The parameter x is converted to an array only if it is a tup... | numpy.reference.generated.numpy.polynomial.hermite_e.hermeval |
numpy.polynomial.hermite_e.hermeval2d polynomial.hermite_e.hermeval2d(x, y, c)[source]
Evaluate a 2-D HermiteE series at points (x, y). This function returns the values: \[p(x,y) = \sum_{i,j} c_{i,j} * He_i(x) * He_j(y)\] The parameters x and y are converted to arrays only if they are tuples or a lists, otherwise ... | numpy.reference.generated.numpy.polynomial.hermite_e.hermeval2d |
numpy.polynomial.hermite_e.hermeval3d polynomial.hermite_e.hermeval3d(x, y, z, c)[source]
Evaluate a 3-D Hermite_e series at points (x, y, z). This function returns the values: \[p(x,y,z) = \sum_{i,j,k} c_{i,j,k} * He_i(x) * He_j(y) * He_k(z)\] The parameters x, y, and z are converted to arrays only if they are tu... | numpy.reference.generated.numpy.polynomial.hermite_e.hermeval3d |
numpy.polynomial.hermite_e.hermevander polynomial.hermite_e.hermevander(x, deg)[source]
Pseudo-Vandermonde matrix of given degree. Returns the pseudo-Vandermonde matrix of degree deg and sample points x. The pseudo-Vandermonde matrix is defined by \[V[..., i] = He_i(x),\] where 0 <= i <= deg. The leading indices o... | numpy.reference.generated.numpy.polynomial.hermite_e.hermevander |
numpy.polynomial.hermite_e.hermevander2d polynomial.hermite_e.hermevander2d(x, y, deg)[source]
Pseudo-Vandermonde matrix of given degrees. Returns the pseudo-Vandermonde matrix of degrees deg and sample points (x, y). The pseudo-Vandermonde matrix is defined by \[V[..., (deg[1] + 1)*i + j] = He_i(x) * He_j(y),\] w... | numpy.reference.generated.numpy.polynomial.hermite_e.hermevander2d |
numpy.polynomial.hermite_e.hermevander3d polynomial.hermite_e.hermevander3d(x, y, z, deg)[source]
Pseudo-Vandermonde matrix of given degrees. Returns the pseudo-Vandermonde matrix of degrees deg and sample points (x, y, z). If l, m, n are the given degrees in x, y, z, then Hehe pseudo-Vandermonde matrix is defined ... | numpy.reference.generated.numpy.polynomial.hermite_e.hermevander3d |
numpy.polynomial.hermite_e.hermeweight polynomial.hermite_e.hermeweight(x)[source]
Weight function of the Hermite_e polynomials. The weight function is \(\exp(-x^2/2)\) and the interval of integration is \([-\inf, \inf]\). the HermiteE polynomials are orthogonal, but not normalized, with respect to this weight func... | numpy.reference.generated.numpy.polynomial.hermite_e.hermeweight |
numpy.polynomial.hermite_e.hermex polynomial.hermite_e.hermex = array([0, 1])
An array object represents a multidimensional, homogeneous array of fixed-size items. An associated data-type object describes the format of each element in the array (its byte-order, how many bytes it occupies in memory, whether it is an... | numpy.reference.generated.numpy.polynomial.hermite_e.hermex |
numpy.polynomial.hermite_e.hermezero polynomial.hermite_e.hermezero = array([0])
An array object represents a multidimensional, homogeneous array of fixed-size items. An associated data-type object describes the format of each element in the array (its byte-order, how many bytes it occupies in memory, whether it is... | numpy.reference.generated.numpy.polynomial.hermite_e.hermezero |
numpy.polynomial.hermite_e.HermiteE.__call__ method polynomial.hermite_e.HermiteE.__call__(arg)[source]
Call self as a function. | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.__call__ |
numpy.polynomial.hermite_e.HermiteE.basis method classmethod polynomial.hermite_e.HermiteE.basis(deg, domain=None, window=None)[source]
Series basis polynomial of degree deg. Returns the series representing the basis polynomial of degree deg. New in version 1.7.0. Parameters
degint
Degree of the basis polyn... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.basis |
numpy.polynomial.hermite_e.HermiteE.cast method classmethod polynomial.hermite_e.HermiteE.cast(series, domain=None, window=None)[source]
Convert series to series of this class. The series is expected to be an instance of some polynomial series of one of the types supported by by the numpy.polynomial module, but cou... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.cast |
numpy.polynomial.hermite_e.HermiteE.convert method polynomial.hermite_e.HermiteE.convert(domain=None, kind=None, window=None)[source]
Convert series to a different kind and/or domain and/or window. Parameters
domainarray_like, optional
The domain of the converted series. If the value is None, the default doma... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.convert |
numpy.polynomial.hermite_e.HermiteE.copy method polynomial.hermite_e.HermiteE.copy()[source]
Return a copy. Returns
new_seriesseries
Copy of self. | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.copy |
numpy.polynomial.hermite_e.HermiteE.cutdeg method polynomial.hermite_e.HermiteE.cutdeg(deg)[source]
Truncate series to the given degree. Reduce the degree of the series to deg by discarding the high order terms. If deg is greater than the current degree a copy of the current series is returned. This can be useful i... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.cutdeg |
numpy.polynomial.hermite_e.HermiteE.degree method polynomial.hermite_e.HermiteE.degree()[source]
The degree of the series. New in version 1.5.0. Returns
degreeint
Degree of the series, one less than the number of coefficients. | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.degree |
numpy.polynomial.hermite_e.HermiteE.deriv method polynomial.hermite_e.HermiteE.deriv(m=1)[source]
Differentiate. Return a series instance of that is the derivative of the current series. Parameters
mnon-negative int
Find the derivative of order m. Returns
new_seriesseries
A new series representing the... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.deriv |
numpy.polynomial.hermite_e.HermiteE.domain attribute polynomial.hermite_e.HermiteE.domain = array([-1, 1]) | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.domain |
numpy.polynomial.hermite_e.HermiteE.fit method classmethod polynomial.hermite_e.HermiteE.fit(x, y, deg, domain=None, rcond=None, full=False, w=None, window=None)[source]
Least squares fit to data. Return a series instance that is the least squares fit to the data y sampled at x. The domain of the returned instance ... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.fit |
numpy.polynomial.hermite_e.HermiteE.fromroots method classmethod polynomial.hermite_e.HermiteE.fromroots(roots, domain=[], window=None)[source]
Return series instance that has the specified roots. Returns a series representing the product (x - r[0])*(x - r[1])*...*(x - r[n-1]), where r is a list of roots. Paramete... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.fromroots |
numpy.polynomial.hermite_e.HermiteE.has_samecoef method polynomial.hermite_e.HermiteE.has_samecoef(other)[source]
Check if coefficients match. New in version 1.6.0. Parameters
otherclass instance
The other class must have the coef attribute. Returns
boolboolean
True if the coefficients are the same,... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.has_samecoef |
numpy.polynomial.hermite_e.HermiteE.has_samedomain method polynomial.hermite_e.HermiteE.has_samedomain(other)[source]
Check if domains match. New in version 1.6.0. Parameters
otherclass instance
The other class must have the domain attribute. Returns
boolboolean
True if the domains are the same, Fal... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.has_samedomain |
numpy.polynomial.hermite_e.HermiteE.has_sametype method polynomial.hermite_e.HermiteE.has_sametype(other)[source]
Check if types match. New in version 1.7.0. Parameters
otherobject
Class instance. Returns
boolboolean
True if other is same class as self | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.has_sametype |
numpy.polynomial.hermite_e.HermiteE.has_samewindow method polynomial.hermite_e.HermiteE.has_samewindow(other)[source]
Check if windows match. New in version 1.6.0. Parameters
otherclass instance
The other class must have the window attribute. Returns
boolboolean
True if the windows are the same, Fal... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.has_samewindow |
numpy.polynomial.hermite_e.HermiteE.identity method classmethod polynomial.hermite_e.HermiteE.identity(domain=None, window=None)[source]
Identity function. If p is the returned series, then p(x) == x for all values of x. Parameters
domain{None, array_like}, optional
If given, the array must be of the form [be... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.identity |
numpy.polynomial.hermite_e.HermiteE.integ method polynomial.hermite_e.HermiteE.integ(m=1, k=[], lbnd=None)[source]
Integrate. Return a series instance that is the definite integral of the current series. Parameters
mnon-negative int
The number of integrations to perform.
karray_like
Integration constants.... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.integ |
numpy.polynomial.hermite_e.HermiteE.linspace method polynomial.hermite_e.HermiteE.linspace(n=100, domain=None)[source]
Return x, y values at equally spaced points in domain. Returns the x, y values at n linearly spaced points across the domain. Here y is the value of the polynomial at the points x. By default the d... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.linspace |
numpy.polynomial.hermite_e.HermiteE.mapparms method polynomial.hermite_e.HermiteE.mapparms()[source]
Return the mapping parameters. The returned values define a linear map off + scl*x that is applied to the input arguments before the series is evaluated. The map depends on the domain and window; if the current doma... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.mapparms |
numpy.polynomial.hermite_e.HermiteE.roots method polynomial.hermite_e.HermiteE.roots()[source]
Return the roots of the series polynomial. Compute the roots for the series. Note that the accuracy of the roots decrease the further outside the domain they lie. Returns
rootsndarray
Array containing the roots of t... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.roots |
numpy.polynomial.hermite_e.HermiteE.trim method polynomial.hermite_e.HermiteE.trim(tol=0)[source]
Remove trailing coefficients Remove trailing coefficients until a coefficient is reached whose absolute value greater than tol or the beginning of the series is reached. If all the coefficients would be removed the ser... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.trim |
numpy.polynomial.hermite_e.HermiteE.truncate method polynomial.hermite_e.HermiteE.truncate(size)[source]
Truncate series to length size. Reduce the series to length size by discarding the high degree terms. The value of size must be a positive integer. This can be useful in least squares where the coefficients of t... | numpy.reference.generated.numpy.polynomial.hermite_e.hermitee.truncate |
numpy.polynomial.hermite_e.poly2herme polynomial.hermite_e.poly2herme(pol)[source]
Convert a polynomial to a Hermite series. Convert an array representing the coefficients of a polynomial (relative to the “standard” basis) ordered from lowest degree to highest, to an array of the coefficients of the equivalent Herm... | numpy.reference.generated.numpy.polynomial.hermite_e.poly2herme |
numpy.polynomial.laguerre.lag2poly polynomial.laguerre.lag2poly(c)[source]
Convert a Laguerre series to a polynomial. Convert an array representing the coefficients of a Laguerre series, ordered from lowest degree to highest, to an array of the coefficients of the equivalent polynomial (relative to the “standard” b... | numpy.reference.generated.numpy.polynomial.laguerre.lag2poly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.