SciPy

scipy.interpolate.ppform

class scipy.interpolate.ppform(coeffs, breaks, fill=0.0, sort=False)[source]

Deprecated piecewise polynomial class.

New code should use the PPoly class instead.

Methods

__call__(x)
antiderivative([nu]) Construct a new piecewise polynomial representing the antiderivative.
construct_fast(c, x[, extrapolate, axis]) Construct the piecewise polynomial without making checks.
derivative([nu]) Construct a new piecewise polynomial representing the derivative.
extend(c, x[, right]) Add additional breakpoints and coefficients to the polynomial.
from_bernstein_basis(bp[, extrapolate]) Construct a piecewise polynomial in the power basis from a polynomial in Bernstein basis.
from_spline(tck[, extrapolate]) Construct a piecewise polynomial from a spline
fromspline(xk, cvals, order[, fill])
integrate(a, b[, extrapolate]) Compute a definite integral over a piecewise polynomial.
roots([discontinuity, extrapolate]) Find real roots of the the piecewise polynomial.
solve([y, discontinuity, extrapolate]) Find real solutions of the the equation pp(x) == y.