This is documentation for an old release of SciPy (version 0.10.0). Read this page in the documentation of the latest stable release (version 1.15.1).
Evaluate many derivatives of the polynomial at the point x
Produce an array of all derivative values at the point x.
Parameters : | x : scalar or array_like of length N
der : None or integer
|
---|---|
Returns : | d : ndarray
|
Examples
>>> KroghInterpolator([0,0,0],[1,2,3]).derivatives(0)
array([1.0,2.0,3.0])
>>> KroghInterpolator([0,0,0],[1,2,3]).derivatives([0,0])
array([[1.0,1.0],
[2.0,2.0],
[3.0,3.0]])