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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | Yes | Degree of polynomial. | |
| x | Yes | Real/complex/p-adic number. | |
| flag | No | Optional accuracy flag. |