lagrange_interpolate
Interpolate unknown values between known data points using Lagrange polynomial method to estimate y-values for given x-coordinates.
Instructions
Perform Lagrange polynomial interpolation through given points (Domain: numerical, Category: interpolation)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"x_points": "<x_points>",
"y_points": "<y_points>",
"x": "<x>"
},
"name": "lagrange_interpolate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_points | Yes | ||
| y_points | Yes | ||
| x | Yes |