CubicSpline Class
Cubic spline interpolation. Call Fit (or use the corrector constructor) to compute spline coefficients, then Eval to evaluate the spline at other X coordinates.
public class CubicSpline 

This is implemented based on the wikipedia article: I'm not sure I have the right to include a copy of the article so the equation numbers referenced in comments will end up being wrong at some point.

This is not optimized, and is not MT safe. This can extrapolate off the ends of the splines. You must provide points in X sort order.

Inheritance Hierarchy



Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also