POLYMATH
GETTING STARTED
Installing with NPM
$ npm install polymath
Browser
Node
const polymath = ;let polynomial = polymath;
USAGE
CONSTRUCTION
From a String: polymath.parse('2x^3 + 7x^2 - 3x + 2')
Parsing is done using a parsing expression grammar. See PEG.js
BASIC ARITHMETIC
Polynomial.add(poly: Polynomial): Polynomial
Polynomial.substract(poly: Polynomial): Polynomial
Polynomial.multiply(poly: Polynomial): Polynomial
Polynomial.divide(poly: Polynomial): Polynomial
OTHER FUNCTIONS
Polynomial.toLatex(): string
returns a LaTex representation of the polynomial
Polynomial.iterator(): object
returns an iterator of the monomial terms
ADDITIONAL MODULES
Descarte's Rule of Signs
polymath;
Rational Zeros Test
polymath;
Synthetic Division
polymath;