[Top][All Lists]

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

Re: [Help-gsl] Integrating over a grid

From: Daniel Farrell
Subject: Re: [Help-gsl] Integrating over a grid
Date: Thu, 28 Aug 2008 08:14:32 +0100


A am assuming 'grid' means 2D data set i.e. f(x,y) = z. Are you integrating data or a function? If it's data then I would suggest you create a two dimensional trapezium rule function. If it's an equation this would work too, however, you could also use GSL monte-carlo integration functions. These functions also work for higher dimensions.



On 26 Aug 2008, at 13:31, Nicolette Caister wrote:


I'm not sure if this is the right place for this question. Is there anyway I can use the GSL to integrate over a grid? The only option I can find is the "gsl_spline_eval_integ()" function. However, this actually makes an interpolating object and then integrates. Are there any others?


Kind Regards

Nicolette Caister
PhD student
School of Statistics and Actuarial Science
South Africa
Please find our Email Disclaimer here:

Help-gsl mailing list

reply via email to

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