[Top][All Lists]

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

Re: [Bug-gsl] GSL Interpolation

From: Brian Gough
Subject: Re: [Bug-gsl] GSL Interpolation
Date: Sun, 08 Jul 2007 22:41:20 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI)

At Thu, 05 Jul 2007 11:15:05 +0200,
Andreas Ipp wrote:

> One should mention that x-values have to be given in increasing order... 
> i.e. x[0] < x[1] < x[2] < ...
> I just had the problem where I wanted to include a spline for a function 
> that I get from my calculation as e.g.
> x[0] = 10; y[0] = ...
> x[1] = 9;
> x[2] = 8;
> etc. so that x[0] > x[1] > x[2]...
> Since I was new to interpolation, at first I could not understand the 
> error message:
> gsl: interp.c:134: ERROR: interpolation error
> Default GSL error handler invoked.
> Aborted

Thanks for the email.  Your recommendation will be incorporated in the
next release, so there will be a clearer error message and
documentation in the manual.

Brian Gough
(GSL Maintainer)

Network Theory Ltd,
Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/

reply via email to

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