sympy_horner
Converts a symbolic expression to Horner form, optimizing polynomial evaluation by reducing the number of multiplications.
Instructions
Horner form.
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": {
"expr": "<expr>"
},
"name": "sympy_horner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expr | Yes | ||
| variable | No | x |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |