[SciPy-user] interpolate

Travis E. Oliphant oliphant@enthought....
Fri Nov 14 16:47:43 CST 2008


AndrewF wrote:
> Why does
>
> tck1=interpolate.splrep(scipy.array([1.0,2.0]),scipy.array([1.0,4.0]),k=1)
>
> work okay, but
>
> tck2=interpolate.splrep(scipy.array([8.2,2.0]),scipy.array([1.0,4.0]),k=1)
>
> does not?
>   
The second-case does not provide a monotonically increasing array in the 
first argument.

-Travis



More information about the SciPy-user mailing list