bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / polynomial / hermite / hermder
function
numpy.polynomial.hermite:hermder
source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/hermite.py :596
Signature
def hermder ( c , m = 1 , scl = 1 , axis = 0 ) Summary
Differentiate a Hermite series.
Extended Summary
Returns the Hermite 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). The argument c is an array of coefficients from low to high degree along each axis, e.g., [1,2,3] represents the series 1*H_0 + 2*H_1 + 3*H_2 while [[1,2],[1,2]] represents 1*H_0(x)*H_0(y) + 1*H_1(x)*H_0(y) + 2*H_0(x)*H_1(y) + 2*H_1(x)*H_1(y) if axis=0 is x and axis=1 is y.
Parameters
c: array_likeArray of Hermite series coefficients. If
cis multidimensional the different axis correspond to different variables with the degree in each axis given by the corresponding index.m: int, optionalNumber of derivatives taken, must be non-negative. (Default: 1)
scl: scalar, optionalEach differentiation is multiplied by
scl. The end result is multiplication byscl**m. This is for use in a linear change of variable. (Default: 1)axis: int, optionalAxis over which the derivative is taken. (Default: 0).
Returns
der: ndarrayHermite series of the derivative.
Notes
In general, the result of differentiating a Hermite series does not resemble the same operation on a power series. Thus the result of this function may be "unintuitive," albeit correct; see Examples section below.
Examples
from numpy.polynomial.hermite import hermder hermder([ 1. , 0.5, 0.5, 0.5]) hermder([-0.5, 1./2., 1./8., 1./12., 1./16.], m=2)✓
See also
Aliases
-
numpy.polynomial.Hermite._der -
numpy.polynomial.hermite.hermder