scipy.interpolate.spalde¶
-
scipy.interpolate.
spalde
(x, tck)[source]¶ Evaluate all derivatives of a B-spline.
Given the knots and coefficients of a cubic B-spline compute all derivatives up to order k at a point (or set of points).
- Parameters
- xarray_like
A point or a set of points at which to evaluate the derivatives. Note that
t(k) <= x <= t(n-k+1)
must hold for each x.- tcktuple
A tuple
(t, c, k)
, containing the vector of knots, the B-spline coefficients, and the degree of the spline (seesplev
).
- Returns
- results{ndarray, list of ndarrays}
An array (or a list of arrays) containing all derivatives up to order k inclusive for each point x.
References