Module interpolate

Module interpolate 

Source
Expand description

Contains algorithms for polynomial interpolation.

Enums§

InterpolationErrorunstable-enable
Availability

Functions§

interpolateunstable-enable
Uses Lagrange interpolation to compute the interpolation polynomial of the given values. Concretely, this is the univariate polynomial f of degree < x.len() such that f(x[i]) = y[i] for all i.
interpolate_multivariateunstable-enable
Availability
product_except_oneunstable-enable
Computes out[i] = prod_(j != i) values[j].