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]])