cepgen is hosted by Hepforge, IPPP Durham
CepGen N/A
Central exclusive processes event generator
GSLMonteFunctionWrapper< F > Class Template Reference

GSL wrapper to define a functor as an integrable functional. More...

#include <include/CepGen/Utils/GSLMonteFunctionWrapper.h>

+ Inheritance diagram for GSLMonteFunctionWrapper< F >:
+ Collaboration diagram for GSLMonteFunctionWrapper< F >:

Public Member Functions

 GSLMonteFunctionWrapper (const F &func, size_t num_dimensions)
 

Static Public Member Functions

static std::unique_ptr< gsl_monte_function > build (const F &func, size_t num_dimensions)
 Utility to build a gsl_monte_function pointer from a functional and phase space size.
 

Detailed Description

template<typename F>
class cepgen::utils::GSLMonteFunctionWrapper< F >
Template Parameters
Ffunctor member signature

Definition at line 30 of file GSLMonteFunctionWrapper.h.

Constructor & Destructor Documentation

◆ GSLMonteFunctionWrapper()

template<typename F >
GSLMonteFunctionWrapper ( const F & func,
size_t num_dimensions )
explicit

Definition at line 32 of file GSLMonteFunctionWrapper.h.

Member Function Documentation

◆ build()

template<typename F >
static std::unique_ptr< gsl_monte_function > build ( const F & func,
size_t num_dimensions )
static

Definition at line 38 of file GSLMonteFunctionWrapper.h.