Skip to content

Latest commit

 

History

History

poly

README.md

poly

Access every method through the namespace form Numeric.poly.method.

Methods

Method Description
add Aligns coefficients and sums them entry by entry.
companion Creates the matrix whose eigenvalues are the roots.
convert Rewrites coefficients in the requested basis.
der Applies differentiation repeatedly to reach the order.
div Performs polynomial long division.
domain Reports bounds, maps values, or trims trailing zeros.
evaluate Computes polynomial values using Horner iteration.
fit Solves a least squares system for the coefficients.
gauss Computes nodes and weights for a quadrature family.
grid Computes polynomial values at grid intersections.
int Applies integration repeatedly to reach the order.
line Creates coefficients for a straight line.
mul Convolves the coefficient arrays together.
pow Uses repeated squaring for the polynomial power.
root Finds root values or the derived root polynomial.
sample Evaluates a polynomial or callback over sample points.
sub Aligns coefficients and subtracts them entry by entry.
vander Places powers of each sample into a matrix.
weight Evaluates the weight function at each point.