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: Monte Carlo Integration


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 = ∥


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