Machine Learning, Numerical Methods, Cubicspline.
with Matlab, 2ed by Jan Kiusalaas Let’s imagine this as having an elastic strip pinned to a cork board. Now presenting the main points: Segments: each segment of the spline curve is a cubic polynomial. At the pins: the slope (first derivative) and the bending moment(second derivative) is continuous