- Akima1DInterpolator.roots(discontinuity=True, extrapolate=None)¶
Find real roots of the the piecewise polynomial.
discontinuity : bool, optional
Whether to report sign changes across discontinuities at breakpoints as roots.
extrapolate : bool, optional
Whether to return roots from the polynomial extrapolated based on first and last intervals.
roots : ndarray
Roots of the polynomial(s).
If the PPoly object describes multiple polynomials, the return value is an object array whose each element is an ndarray containing the roots.