Monte Carlo Integration

Brian Gough bjg@network-theory.co.uk
Thu May 8 21:27:00 GMT 2003


Annett Keller writes:
 >   struct mc_param par = {1.0, 2.0};			/* values for parameter */
 >     
 >   gsl_monte_function G = { &g, 3, &par};			/* produces ERROR MESSAGE */

Ideally gsl should have some functions to construct these
objects but in the meantime they have to be constructed
manually:

gsl_monte_function G;
G.f = &g;
G.dim = 3;
G.params = ∥



More information about the Gsl-discuss mailing list