bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] Re: Interpolation


From: Brian Gough
Subject: Re: [Bug-gsl] Re: Interpolation
Date: Thu, 09 Dec 2010 21:38:11 +0000
User-agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO)

At Thu, 9 Dec 2010 12:52:41 +0300,
Evgeny Kurbatov wrote:
> > What do you think about returning NAN (instead of 0 and y0,yn) for
> > values outside the range?  It's a more obvious failure.
> 
> You're right but I oriented on gsl_interp_eval_..._e functions and did
> like that. Returning NaN is a good idea, though. It makes possible to
> write a workaround to have any number as output instead of NaN.  I
> attached the patch to original interp.c.

I've applied that now with the original patches, thanks!



reply via email to

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