This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: minimize and cspline


Kaixo Zunbeltz,

The spline documentation is here
http://sources.redhat.com/gsl/ref/gsl-ref_26.html#SEC389

And a specific example of how to do that is:
http://sources.redhat.com/gsl/ref/gsl-ref_26.html#SEC396

What I would do, is create a gsl_vector for the data points you have.

And then find the maximium element using:
http://sources.redhat.com/gsl/ref/gsl-ref_8.html#SEC165

The bottomline is that the manual has excellent examples.

If you want to support the GSL effort, I would recommend to get a printed
copy of the manual. I have one, and it is very nice and convenient as
well.

http://www.network-theory.co.uk/gsl/manual/

(Or if you are feeling cheapskate, the PDF version is downloadable from
the same page).

If you still have questions, feel free to ask them
Alan Aspuru-Guzik


On Thu, 9 Oct 2003, Zunbeltz Izaola wrote:

> HI,
> 
> I'm new to gsl. I've a array with the values of a function. I want to do a
> cspline of the points and then find the maximun of the function. Is it
> possible? I'm reading the documnetation but i can't find how.
> 
> thanks in advance
> 
> Zunbeltz
> 
> 

-- 

Alan Aspuru-Guzik                    Dios mueve al jugador, y éste, la pieza.
(510)642-2154 UC Berkeley           ¿Qué Dios detrás de Dios la trama empieza
                                   de polvo y tiempo y sueño y agonías? -Borges


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]