Back

#algebra

2 APIs with this tag

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

Math API

A full math engine as an API, powered by mathjs. Evaluate any expression — arithmetic, hundreds of functions (sqrt, sin, log, gcd, factorial, combinations, …), constants (pi, e), complex numbers, matrices and number theory — with optional precision control (e.g. 2+3*sqrt(16) → 14, pi at 5 digits → 3.1416). Take the symbolic derivative of an expression with respect to a variable (x^2+3x → 2*x+3), and simplify algebra (2x+3x → 5*x). No formula libraries to bundle, no maths to reimplement: send an expression, get the answer. Ideal for calculators and STEM education apps, spreadsheet and form logic, quiz and homework tools, engineering and data dashboards, and any product that needs reliable server-side computation.

api.oanor.com/math-api