[SciPy-user] Maximum of spline?

David F daelfin@gmail....
Mon May 11 13:12:30 CDT 2009

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... 


More information about the SciPy-user mailing list