[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] cspline: gsl_spline_eval

From: Rhys Ulerich
Subject: Re: [Help-gsl] cspline: gsl_spline_eval
Date: Sun, 11 Dec 2011 18:50:24 -0600

> Hi, i upgraded from openSuse 11.3 to 12.1 and got a new gsl version....
> But now i'm getting always error messages "interp.c:150: ERROR: interpolation 
> error". I think it's because i want y values for x
> values lower/bigger than the x values in my interpolation points. How can i 
> get these values? I don't want to add additional
> interpolation points because that will change my spline.

Changed in

Judging from the line
   GSL_ERROR_VAL("interpolation error", GSL_EDOM, GSL_NAN);
within interp.c, I don't think you can get the older, extrapolating behavior.

The related mailing list thread discussing the change was here:

Your options seem to be:
1) Don't extrapolate.
2) Hack your local version of the code to remove the extrapolation check.
3) Use some basic facts about splines to write an
extrapolation-friendly version which defers to the library version.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]