[Top][All Lists]

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

[Help-gsl] Spline function coefficients

From: mattia tomasoni
Subject: [Help-gsl] Spline function coefficients
Date: Fri, 30 May 2008 09:56:47 +0000 (GMT)

Hello dear all,
I am a new user, I apologize in advance if my question will be a little naive...

I am successfully running an example program that allocates a spline object 
with gsl_spline_alloc() and then evaluetes it at a certain x position.
What I would like to be able to do now, though, is to get the coefficients of 
the spline function: I need a mathematical definition of the resulting spline 
(not just some values evaluated between the known points that I give in input.)

Thank you for your kind attention!
Mattia Tomasoni - Italy


Small example (just in case)

Suppose the interval [a,b] is [0,3] and the
subintervals are [0,1), [1,2), and [2,3]. Suppose the polynomial pieces
are to be of degree 2, and the pieces on [0,1) and [1,2) must join in
value and first derivative (at t=1) while the pieces on [1,2) and [2,3] join 
simply in value (at t=2). This would define a type of spline S(t) for which

The coefficients I am talking about are:-20-2+1-6+1-1+1-2 

Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione!

reply via email to

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