SciPy

This is documentation for an old release of SciPy (version 1.5.3). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.interpolate.UnivariateSpline.roots

UnivariateSpline.roots(self)[source]

Return the zeros of the spline.

Restriction: only cubic splines are supported by fitpack.

Previous topic

scipy.interpolate.UnivariateSpline.integral

Next topic

scipy.interpolate.UnivariateSpline.set_smoothing_factor