numpy.polynomial.hermite.hermval2d()

numpy.polynomial.hermite.hermval2d(x, y, c) [source] Evaluate a 2-D Hermite series at points (x, y). This function returns the values: The parameters x and y are converted to arrays only if they are tuples or a lists, otherwise they are treated as a scalars and they must have the same shape after conversion. In either case, either x and y or their elements must support multiplication and addition both with themselves and with the elements of c. If c is a 1-D array a one is implicitly app

numpy.polynomial.hermite.hermval()

numpy.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: The parameter x is converted to an array only if it is a tuple or a list, otherwise it is treated as a scalar. In either case, either x or its elements must support multiplication and addition both with themselves and with the elements of c. If c is a 1-D array, then p(x) will have the same shape as x. If c is multidimensional, the

numpy.polynomial.hermite.hermtrim()

numpy.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 + x**2 + 0*x**3 + 0*x**4) both the 3-rd and 4-th order coefficients would be ?trimmed.? Parameters: c : array_like 1-d array of coefficients, ordered from lowest order to highest. tol : number, optional T

numpy.polynomial.hermite.hermsub()

numpy.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, c2 : array_like 1-D arrays of Hermite series coefficients ordered from low to high. Returns: out : ndarray Of Hermite series coefficients representing their difference. See also hermadd, hermmul, he

numpy.polynomial.hermite.hermroots()

numpy.polynomial.hermite.hermroots(c) [source] Compute the roots of a Hermite series. Return the roots (a.k.a. ?zeros?) of the polynomial Parameters: c : 1-D array_like 1-D array of coefficients. Returns: out : ndarray Array of the roots of the series. If all the roots are real, then out is also real, otherwise it is complex. See also polyroots, legroots, lagroots, chebroots, hermeroots Notes The root estimates are obtained as the eigenvalues of the companion matrix, Roots far

numpy.polynomial.hermite.hermpow()

numpy.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: c : array_like 1-D array of Hermite series coefficients ordered from low to high. pow : integer Power to which the series will be raised maxpower : integer, optional Maximum power allowed. This is mainly t

numpy.polynomial.hermite.hermone

numpy.polynomial.hermite.hermone = array([1])

numpy.polynomial.hermite.hermmulx()

numpy.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: c : array_like 1-D array of Hermite series coefficients ordered from low to high. Returns: out : ndarray Array representing the result of the multiplication. Notes The multiplication uses the recursion relationship for Hermite polynomials in the form xP_i(x) = (P_{i + 1}(x)/2 + i*P_{i - 1}(x)) Examples >>> from

numpy.polynomial.hermite.hermmul()

numpy.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. Parameters: c1, c2 : array_like 1-D arrays of Hermite series coefficients ordered from low to high. Returns: out : ndarray Of Hermite series coefficients representing their product. See also hermadd, hermsu

numpy.polynomial.hermite.hermline()

numpy.polynomial.hermite.hermline(off, scl) [source] Hermite series whose graph is a straight line. Parameters: off, scl : scalars The specified line is given by off + scl*x. Returns: y : ndarray This module?s representation of the Hermite series for off + scl*x. See also polyline, chebline Examples >>> from numpy.polynomial.hermite import hermline, hermval >>> hermval(0,hermline(3, 2)) 3.0 >>> hermval(1,hermline(3, 2)) 5.0