Class mcarlo (o2scl)¶
-
template<class func_t = multi_funct, class vec_t = boost::numeric::ublas::vector<double>, class rng_t = rng<>>
class mcarlo : public o2scl::inte_multi<multi_funct, boost::numeric::ublas::vector<double>>¶ Monte-Carlo integration [abstract base].
This class provides the generic Monte Carlo parameters and the random number generator. The default type for the random number generator is a rng object.
Subclassed by o2scl::mcarlo_miser< func_t, vec_t, rng_t >, o2scl::mcarlo_plain< func_t, vec_t, rng_t >, o2scl::mcarlo_vegas< func_t, vec_t, rng_t >