[SciPy-user] Maximum of spline?
Tue May 12 05:35:04 CDT 2009
but spline is not a polynom - even using SymPy (symbolic computation)
and deriving analytically the spline coefficients you'll remain with
the "another" spline, i.e. set of coefficients that you need to
evaluate. I believe there's not such a thing 'roots of the spline'.
but maybe i'm wrong.
On May 11, 9:12 pm, David F <dael...@gmail.com> wrote:
> Alex <alex.liberzon <at> gmail.com> writes:
> > maybe, if you know the range of the values, you can use the derivative
> > of the spline, provided by
> > scipy.interpolate.splev(xtuple,yourspline,der=1) or even second
> > derivative using der=2?
> Yes but that would still be approximate, and require evaluating
> the (derivative of the) spline on some grid of points. However
> since the splines are piecewise polynomials, I was looking for a
> way to get the maximum just from the coefficients...
> SciPy-user mailing list
More information about the SciPy-user