bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] Re: Interpolation


From: Evgeny Kurbatov
Subject: Re: [Bug-gsl] Re: Interpolation
Date: Thu, 9 Dec 2010 12:52:41 +0300

Hi Brian

> 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.

Regards,
Evgeny Kurbatov

Attachment: interp.c.patch
Description: Text Data


reply via email to

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