algdep
Approximate any real, complex, or p-adic number with a polynomial of integer coefficients of chosen degree. Detect algebraic dependencies efficiently.
Instructions
Find polynomial of degree k with integer coefficients approximating x.
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": "<x>",
"k": "<k>"
},
"name": "algdep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | Yes | Degree of polynomial. | |
| x | Yes | Real/complex/p-adic number. | |
| flag | No | Optional accuracy flag. |