bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] Re: Interpolation


From: Rhys Ulerich
Subject: Re: [Bug-gsl] Re: Interpolation
Date: Wed, 24 Nov 2010 09:52:24 -0600

>> why the interpolating routines become extrapolating sometimes?  Today I
>> spent several hours to find the stupid bug in my program due to
>> interpolation bounds violation.  When an interpolation point becomes greater
>> than right bound or lower than left then no error returns but the routine
>> extrapolates a function value to that point giving very brave values.

> That sounds like a good idea, to just hardcode an error for values
> outside the range,

Any chance that you'll break everyone who depended on this
extrapolation "feature"?  Such a check seems like an easy thing for
the library user to do when/if it makes sense.

- Rhys



reply via email to

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