Polynomials

 `AddPoly (p1,p2)`

DividePoly
 `DividePoly (p,q,&r)`

Divide two polynomials (as vectors) using long division. Returns the quotient of the two polynomials. The optional argument `r` is used to return the remainder. The remainder will have lower degree than `q`.

IsPoly
 `IsPoly (p)`

Check if a vector is usable as a polynomial.

MultiplyPoly
 `MultiplyPoly (p1,p2)`

Multiply two polynomials (as vectors).

NewtonsMethodPoly
 `NewtonsMethodPoly (poly,guess,epsilon,maxn)`

Run newton's method on a polynomial to attempt to find a root, returns after two successive values are within epsilon or after maxn tries (then returns `null`).

Poly2ndDerivative
 `Poly2ndDerivative (p)`

Take second polynomial (as vector) derivative.

PolyDerivative
 `PolyDerivative (p)`

Take polynomial (as vector) derivative.

PolyToFunction
 `PolyToFunction (p)`

Make function out of a polynomial (as vector).

PolyToString
 `PolyToString (p,var...)`

Make string out of a polynomial (as vector).

SubtractPoly
 `SubtractPoly (p1,p2)`

Subtract two polynomials (as vectors).

TrimPoly
 `TrimPoly (p)`

Trim zeros from a polynomial (as vector).