S
Polynomial degree S = K - 1.
Description
Real valued property with no dimensions and no units.
Discussion
The degree is the highest power that appears in each local polynomial piece:
\[p_i(t) = a_{i,0} + a_{i,1}(t-t_i) + \cdots + a_{i,S}(t-t_i)^S.\]Degree S=0 is piecewise constant, S=1 is piecewise linear, S=2 is quadratic, and S=3 is cubic. The matching order is K, with K = S + 1.
spline = BSpline(S=3, knotPoints=knotPoints, xi=xi);
spline.S
% returns 3 for a cubic spline
A cubic spline is K=4, S=3