First and second derivatives at x of the same piecewise cubic as evaluate: on an interval S' = slope + M_k t + (M_{k+1} - M_k) t^2 / (2 h) and S'' = M_k + (M_{k+1} - M_k) t / h; beyond the end knots the straight end tangent, with no curvature.
S' = slope + M_k t + (M_{k+1} - M_k) t^2 / (2 h)
S'' = M_k + (M_{k+1} - M_k) t / h
The spline.
Abscissa.
[S'(x), S''(x)].
[S'(x), S''(x)]
First and second derivatives at x of the same piecewise cubic as evaluate: on an interval
S' = slope + M_k t + (M_{k+1} - M_k) t^2 / (2 h)andS'' = M_k + (M_{k+1} - M_k) t / h; beyond the end knots the straight end tangent, with no curvature.