Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Math::GSLMonteFunctionWrapper Class Reference

wrapper to a multi-dim function withtout derivatives for Monte Carlo multi-dimensional integration algorithm

Definition at line 57 of file GSLMonteFunctionWrapper.h.

Public Member Functions

 GSLMonteFunctionWrapper ()
 
gsl_monte_function * GetFunc ()
 
double operator() (const double *x)
 evaluate the function and derivatives
 
void SetDim (unsigned int n)
 
void SetFuncPointer (GSLMonteFuncPointer f)
 
template<class FuncType >
void SetFunction (const FuncType &f)
 Fill gsl function structure from a C++ Function class.
 
void SetParams (void *p)
 

Private Attributes

gsl_monte_function fFunc
 

#include </home/sftnight/build/workspace/root-makedoc-v632/rootspi/rdoc/src/v6-32-00-patches/math/mathmore/src/GSLMonteFunctionWrapper.h>

Constructor & Destructor Documentation

◆ GSLMonteFunctionWrapper()

ROOT::Math::GSLMonteFunctionWrapper::GSLMonteFunctionWrapper ( )
inline

Definition at line 61 of file GSLMonteFunctionWrapper.h.

Member Function Documentation

◆ GetFunc()

gsl_monte_function * ROOT::Math::GSLMonteFunctionWrapper::GetFunc ( )
inline

Definition at line 82 of file GSLMonteFunctionWrapper.h.

◆ operator()()

double ROOT::Math::GSLMonteFunctionWrapper::operator() ( const double x)
inline

evaluate the function and derivatives

Definition at line 85 of file GSLMonteFunctionWrapper.h.

◆ SetDim()

void ROOT::Math::GSLMonteFunctionWrapper::SetDim ( unsigned int  n)
inline

Definition at line 69 of file GSLMonteFunctionWrapper.h.

◆ SetFuncPointer()

void ROOT::Math::GSLMonteFunctionWrapper::SetFuncPointer ( GSLMonteFuncPointer  f)
inline

Definition at line 68 of file GSLMonteFunctionWrapper.h.

◆ SetFunction()

template<class FuncType >
void ROOT::Math::GSLMonteFunctionWrapper::SetFunction ( const FuncType &  f)
inline

Fill gsl function structure from a C++ Function class.

Definition at line 74 of file GSLMonteFunctionWrapper.h.

◆ SetParams()

void ROOT::Math::GSLMonteFunctionWrapper::SetParams ( void *  p)
inline

Definition at line 70 of file GSLMonteFunctionWrapper.h.

Member Data Documentation

◆ fFunc

gsl_monte_function ROOT::Math::GSLMonteFunctionWrapper::fFunc
private

Definition at line 89 of file GSLMonteFunctionWrapper.h.

  • math/mathmore/src/GSLMonteFunctionWrapper.h