polynomial_ops
Evaluate, differentiate, integrate, add, or multiply polynomials with coefficients ordered highest degree first; evaluate at a given x value when needed.
Instructions
Perform polynomial operations: evaluate, derivative, integral, add, or multiply. Coefficients are highest degree first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Point to evaluate at (for evaluate operation) | |
| operation | Yes | Operation to perform | |
| coefficients | Yes | Polynomial coefficients, highest degree first | |
| coefficients2 | No | Second polynomial for add/multiply |