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