Programmer's guide to polynomials and splines
Is there a simple, elegant method to approximate a curve with a cubic spline?<p>I brute forced it with the least squares :(<p>*Edit: a cubic curve is also acceptable