gsl_monte Class Template Reference

Multidimensional integration using plain Monte Carlo (GSL). More...

#include <gsl_monte.h>

Inheritance diagram for gsl_monte:

mcarlo_inte multi_inte

Detailed Description

template<class param_t, class func_t, class rng_t = gsl_rnga, class vec_t = ovector_base, class alloc_vec_t = ovector, class alloc_t = ovector_alloc>
class gsl_monte< param_t, func_t, rng_t, vec_t, alloc_vec_t, alloc_t >

Multidimensional integration using plain Monte Carlo (GSL).

Definition at line 62 of file gsl_monte.h.


Public Member Functions

virtual int minteg_err (func_t &func, size_t ndim, const vec_t &a, const vec_t &b, param_t &pa, double &res, double &err)
 Integrate function func from x=a to x=b.
virtual double minteg (func_t &func, size_t ndim, const vec_t &a, const vec_t &b, param_t &pa)
 Integrate function func over the hypercube from $ x_i=a_i $ to $ x_i=b_i $ for $ 0<i< $ ndim-1.
virtual const char * type ()
 Return string denoting type ("gsl_monte").

The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page