[Top][All Lists]

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

[Help-gsl] Interpolation functions do not extrapolate

From: Michal Bursa
Subject: [Help-gsl] Interpolation functions do not extrapolate
Date: Wed, 23 May 2012 18:36:06 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1


after upgrading to a new version of Debian, some of my codes stopped working. Finally, I found that the interpolation functionality had changed and did not support extrapolation any more.

GSL changelog says: "The interpolation functions now return NaN and when x is out of range, instead of extrapolating."

I my opinion, this is not a good way of changing things. I think I understand the reason behind it (some users might have been surprised by unexpected results when passing x out of range), but one should not make changes that destroy other codes that use that feature by intention. I mean there should it least be a switch to enable extrapolation, if one want to use it. I was not able to find if there is any.

Thanks for comments,

reply via email to

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