Table of Contents
This is an old revision of the document!
Spline
InterpolatingFunction.Spline(x,y) creates a natural C-spline : x table of knots, y table of function-values at corresponding knots InterpolatingFunction.Spline(x,y,yp1,ypn) creates a C-spline where the derivatives at the outermost knots are determined by yp1 and ypn (both real values)
Input
- Example.Quanty
A = InterpolatingFunction.Spline({1,2,3},{1,4,9}) B = InterpolatingFunction.Spline({1,2,3},{1,4,9},0,0) -- derivatives vanish at the endpoint