spline_interpolate
Interpolate [x, y] data points with a natural cubic spline and optionally evaluate the curve at specified x values for plotting or analysis.
Instructions
Natural cubic spline interpolation through data points, with optional evaluation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | Array of [x, y] data points (at least 3, distinct x). | |
| eval_at | No | X value(s) to evaluate the spline at. Number or array of numbers. |