bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] interpolation function


From: Brian Gough
Subject: Re: [Bug-gsl] interpolation function
Date: Sun, 29 Mar 2009 08:49:30 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.2 Mule/5.0 (SAKAKI)

At Fri, 27 Mar 2009 00:25:28 +0000,
Michael Ng wrote:
> 
> Dear gurus,
>     I am using the following function to get interpolation points in a 
> 3D surface. I am doing it for the sake of finding the intersection line 
> between two surfaces:
> 
>     gsl_spline_eval(spline, x, acc);
> 
>     Unfortunately, the abave line failed to work when the data 'x' is a 
> constant, since it is from a flat surface. I understand that x has to be 
> in ascending order, but I hope to find a quick fix when x is a constant...

As you say x must be increasing, so the only way is to remove any
equal points before doing the interpolation.

-- 
Brian Gough
(GSL Maintainer)

Support freedom by joining the FSF!
http://www.fsf.org/associate/support_freedom/join_fsf?referrer=37




reply via email to

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