cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
GSLMonteFunctionWrapper< F > Class Template Reference

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

#include <CepGen/Utils/GSLFunctionsWrappers.h>

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

Public Member Functions

 GSLMonteFunctionWrapper (const F &func, size_t ndim)
 

Static Public Member Functions

static std::unique_ptr< gsl_monte_function > build (const F &func, size_t ndim)
 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 67 of file GSLFunctionsWrappers.h.

Constructor & Destructor Documentation

◆ GSLMonteFunctionWrapper()

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

Definition at line 69 of file GSLFunctionsWrappers.h.

Member Function Documentation

◆ build()

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

Definition at line 75 of file GSLFunctionsWrappers.h.