This is documentation for an old release of SciPy (version 0.12.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 : array-like
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]])