JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 36633
  • Score
    100M100P100Q158949F
  • License BSD

A class of simple polynomial functionality including root finding

Package Exports

  • kld-polynomial

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (kld-polynomial) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

kld-polynomial

A class of simple polynomial functionality including root finding

Install

npm install kld-polynomial

Polynomial

  • Polynomial.interpolate
  • eval
  • add
  • multiply
  • divide_scalar
  • simplify
  • bisection
  • toString
  • trapezoid
  • simpson
  • romberg
  • getDegree
  • getDerivative
  • getRoots
  • getRootsInInterval
  • getLinearRoot
  • getQuadraticRoots
  • getCubicRoots
  • getQuarticRoots

SqrtPolynomial

  • inherits from Polynomial
  • eval returns square root of Polynomial.prototype.eval