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