Processing math: 100%

 

 

 

Splines

The most commonly used spline function is the one with k=3, the so-called cubic spline function. Assume that we have in adddition to the n+1 knots a series of functions values y0=f(x0),y1=f(x1),yn=f(xn). By definition, the polynomials si1 and si are thence supposed to interpolate the same point i, that is si1(xi)=yi=si(xi), with 1in1. In total we have n polynomials of the type si(x)=ai0+ai1x+ai2x2+ai2x3, yielding 4n coefficients to determine.