This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Monte Carlo Integration
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Annett Keller <keller_annett at gmx dot de>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Thu, 8 May 2003 22:28:01 +0100
- Subject: Re: Monte Carlo Integration
- References: <16576.1051697821@www60.gmx.net>
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 = ∥