[Top][All Lists]

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

Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error

From: jeremy theler
Subject: Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error
Date: Fri, 3 May 2013 09:40:07 -0300
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

I like it, but the function name should not say only "extrap", but should 
reflect the fact that it performs both interpolation and extrapolation.

Also, a flag can be set indicating if the operation was interpolation or 

BTW, as we are on the subject: any plans for multidimensional interpolation?


On Thursday 02 May 2013 23:54:08 Rhys Ulerich wrote:
> > I also miss the good old days when extrapolation was automatically
> > computed using the chosen interpolation scheme. Can this behavior be
> > added as a flag or as a new function?
> I could see a gsl_extrap_eval() and friends that were identical in
> functionality but that did not perform this x < xmin || x > xmax
> check.  gsl_interp_eval() could then be implemented as this check
> followed by calling gsl_extrap_eval().  People wanting the old
> behavior could call the new function which would then self-document
> that extrapolation is a possibility.
> Thoughts?
> - Rhys

reply via email to

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