kld-polynomial
A class of simple polynomial functionality including root finding
Installation
npm install kld-polynomial
Importing
The following sections indicate how you can import the code for use in various environments.
Node
;
ESM in Modern Browsers
;
Older Browsers
Bundlers
;
API
Polynomial
- Polynomial.interpolate
- eval
- add
- multiply
- divide_scalar
- simplifyEquals
- bisection
- toString
- trapezoid
- simpson
- romberg
- getDegree
- getDerivative
- getRoots
- getRootsInInterval
- getLinearRoot
- getQuadraticRoots
- getCubicRoots
- getQuarticRoots