Polynomial API
Work with polynomials: find their roots, evaluate them, differentiate and integrate, and add, subtract, multiply or divide them. The roots endpoint returns every root — real and complex — using the exact quadratic formula for degree 2 and the Durand-Kerner method for higher degrees, with a clean list of just the real roots too. The evaluate endpoint computes p(x) and p'(x) at a point by Horner's method. The derivative endpoint returns the coefficients of the derivative and of the indefinite integral. The operate endpoint does polynomial arithmetic — addition, subtraction, multiplication, and long division giving a quotient and a remainder. Coefficients are given highest-degree first, so [1,-3,2] means x² − 3x + 2. Everything is computed locally and deterministically, so it is instant and private. Ideal for engineering and control systems, signal processing and filter design, computer graphics and curve fitting, scientific computing, and teaching algebra and calculus. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 5 endpoints. This is polynomial maths; for matrices and linear systems use a matrix API, for vectors a vector API, and for general arithmetic a math API.
api.oanor.com/polynomial-api