help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] arbitrary boundary conditions for splines


From: Brian Gough
Subject: Re: [Help-gsl] arbitrary boundary conditions for splines
Date: Fri, 18 Dec 2009 21:24:05 +0000
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI)

At Tue, 15 Dec 2009 16:07:42 -0500,
Alexis Rohou wrote:
> I am aware (
> http://www.gnu.org/software/gsl/manual/html_node/Interpolation-Types.html)
> that GSL uses natural splines (i.e. with second derivative = 0 at
> boudaries), but was wondering whether there might be a way to specify
> other/arbitrary boundary conditions.

There are periodic splines well.  If you need any others, you would
need to define a new gsl_interp_type with a modified implementation
for the boundary condition.  The file interp/cpline.c should show the
general idea.

-- 
Brian Gough

GNU Scientific Library -
http://www.gnu.org/software/gsl/




reply via email to

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