bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] Catch-22 with interpolation objects


From: Brian Gough
Subject: Re: [Bug-gsl] Catch-22 with interpolation objects
Date: Sat, 15 Jan 2011 13:25:39 +0000
User-agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO)

At Sat, 15 Jan 2011 01:52:10 +0100,
Hendrik Weisser wrote:
> For the creation of interpolation objects, a certain number of data 
> points (varies depending on the interpolation type) is needed. The 
> function "gsl_interp_min_size" can be used to find this number.
> 
> However, "gsl_interp_min_size" takes an interpolation object as 
> argument, which can't be created with too few points. Thus, you can't 
> use the function to check whether you have enough points to create the 
> object, which kind of defeats its purpose.

Good point.  To avoid breaking existing programs I've added a function
gsl_inter_type_min_size(T).

-- 

Brian Gough




reply via email to

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