[SciPy-User] inverse function of a spline

josef.pktd at gmail.com josef.pktd at gmail.com
Fri May 7 16:44:44 EDT 2010


On Fri, May 7, 2010 at 4:37 PM, nicky van foreest <vanforeest at gmail.com> wrote:
> Hi Josef,
>
>> If I have a cubic spline, or any other smooth interpolator in scipy,
>> is there a way to get the
>> inverse function directly?
>
> How can you ensure that the cubic spline approx is non-decreasing? I
> actually wonder whether using cubic splines is the best way to
> approximate distribution functions.

Now I know it's not, but I was designing the extension to the linear case
on paper instead of in the interpreter, and got stuck on the wrong
problem.

Maybe I ask the question again when scipy has monotonic interpolators.

Josef

>
> Nicky
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>



More information about the SciPy-User mailing list