Skip to main content

Module ppoly

Module ppoly 

Source
Expand description

Piecewise polynomials in the power basis, following SciPy’s PPoly: evaluation, derivatives, antiderivatives, definite integrals and real roots, with constructors from cubic Hermite data (CubicHermiteSpline) and from B-splines (PPoly.from_spline).

On interval j, [x_j, x_{j+1}), the polynomial is Σ_i c[i][j] (x − x_j)^{k−i}: row 0 holds the highest power, as in SciPy.

See the book entry Piecewise polynomials, Hermite data and scattered interpolation.

Structs§

PPoly
A piecewise polynomial of degree k on m intervals.