- Univariate the spline in the B-spline basis
- Execute the following: S(x)=∑j=0n−1cjBj,k;t(x)S(x)=∑j=0n−1cjBj,k;t(x)
- Where it's Bj,k;tBj,k;t are B-spline basis functions of degree k and knots t
- We can use the following parameters:
Parameters |
t: ndarray, shape (n+k+1,) knots. c: ndarray, shape (>=n, ...). Spline coefficients. k: int. B-spline order. extrapolate: bool, optional. Whether to extrapolate beyond the base interval, t[k] .. t[n], or to return NaN values. If True, extrapolates the first and last polynomial pieces of B-spline functions active on the base interval. Default is True. axis: int; optional. Interpolation axis. The default is zero. |