Construct a cubic spline from data points and evaluate it at multiple query points. Cubic splines provide C2 continuity (smooth first and second derivatives) and are widely used in computer graphics, curve fitting, and financial modeling. Supports different boundary conditions: natural (second derivative = 0 at endpoints), clamped, or periodic.
API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register
X coordinates of data points
[0, 1, 2, 3, 4]Y coordinates of data points
[0, 1, 0.5, 0.75, 1.5]Points at which to evaluate the spline
[0.5, 1.5, 2.5, 3.5]Boundary condition type
natural, clamped, periodic "natural"