Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
Numerical integration

Basic types and definitions. More...

Files

file  GenzMalikQuadrature.h
 
file  Integrator.h
 
file  ProcessCallsPlain.h
 
file  ProcessCallsVegas.h
 

Data Structures

struct  hydra::GaussKronrodRule< N >
 Rules for Gauss-Kronrod quadrature. More...
 
struct  hydra::GaussKronrodRuleSelector< 15 >
 Rules for Gauss-Kronrod quadrature. More...
 
struct  hydra::GaussKronrodRuleSelector< 21 >
 Rules for Gauss-Kronrod quadrature. More...
 
struct  hydra::GaussKronrodRuleSelector< 31 >
 Rules for Gauss-Kronrod quadrature. More...
 
struct  hydra::GaussKronrodRuleSelector< 41 >
 Rules for Gauss-Kronrod quadrature. More...
 
struct  hydra::GaussKronrodRuleSelector< 51 >
 Rules for Gauss-Kronrod quadrature. More...
 
struct  hydra::GaussKronrodRuleSelector< 61 >
 Rules for Gauss-Kronrod quadrature. More...
 
class  hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >
 Non-adaptive Genz-Malik multidimensional quadrature. More...
 
class  hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >
 Class representing Genz-Malik rule. More...
 
class  hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >
 This class implements the Plain MC numerical integration algorithm in Hydra. More...
 
struct  hydra::PlainState
 Simple structure to hold the results of the Plain MC numerical integration. More...
 
class  hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >
 Class to perform numerical integration using Vegas algorithm. More...
 
class  hydra::VegasState< N, BACKEND >
 Class to hold resources and state of hydra::Vegas integration algorithm. More...
 
class  hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >
 Class to hold resources and state of hydra::Vegas integration algorithm. More...
 

Detailed Description

Basic types and definitions.


Data Structure Documentation

◆ hydra::GaussKronrodRule

struct hydra::GaussKronrodRule

template<size_t N>
struct hydra::GaussKronrodRule< N >

Rules for Gauss-Kronrod quadrature.

Inheritance diagram for hydra::GaussKronrodRule< N >:
Collaboration diagram for hydra::GaussKronrodRule< N >:

Public Member Functions

 GaussKronrodRule ()=delete
 
 GaussKronrodRule (std::initializer_list< GReal_t > const &x, std::initializer_list< GReal_t > const &gauss_weight, std::initializer_list< GReal_t > const &kronrod_weight)
 
__hydra_host__ __hydra_device__ GaussKronrodRule (GReal_t const (&x)[(N+1)/2], GReal_t const (&gauss_weight)[(N+1)/2], GReal_t const (&kronrod_weight)[(N+1)/2])
 
__hydra_host__ __hydra_device__ GaussKronrodRule (GaussKronrodRule< N > const &other)
 
__hydra_host__ __hydra_device__ hydra::thrust::tuple< GReal_t, GReal_t, GReal_tGetAbscissa (size_t index, GReal_t xlower, GReal_t xupper)
 
__hydra_host__ __hydra_device__ GaussKronrodRuleoperator= (GaussKronrodRule< N > const &other)
 
void Print ()
 

Data Fields

GReal_t GaussWeight [GaussN]
 
GReal_t KronrodWeight [KronrodN]
 
GReal_t X [KronrodN]
 

Static Public Attributes

static constexpr size_t GaussN = (N+1)/2
 
static constexpr size_t KronrodN = (N+1)/2
 

Constructor & Destructor Documentation

◆ GaussKronrodRule() [1/4]

template<size_t N>
hydra::GaussKronrodRule< N >::GaussKronrodRule ( )
delete

◆ GaussKronrodRule() [2/4]

template<size_t N>
hydra::GaussKronrodRule< N >::GaussKronrodRule ( std::initializer_list< GReal_t > const &  x,
std::initializer_list< GReal_t > const &  gauss_weight,
std::initializer_list< GReal_t > const &  kronrod_weight 
)
inline

◆ GaussKronrodRule() [3/4]

template<size_t N>
__hydra_host__ __hydra_device__ hydra::GaussKronrodRule< N >::GaussKronrodRule ( GReal_t const (&)  x[(N+1)/2],
GReal_t const (&)  gauss_weight[(N+1)/2],
GReal_t const (&)  kronrod_weight[(N+1)/2] 
)
inline

◆ GaussKronrodRule() [4/4]

template<size_t N>
__hydra_host__ __hydra_device__ hydra::GaussKronrodRule< N >::GaussKronrodRule ( GaussKronrodRule< N > const &  other)
inline

Member Function Documentation

◆ GetAbscissa()

template<size_t N>
__hydra_host__ __hydra_device__ hydra::thrust::tuple<GReal_t, GReal_t, GReal_t> hydra::GaussKronrodRule< N >::GetAbscissa ( size_t  index,
GReal_t  xlower,
GReal_t  xupper 
)
inline

◆ operator=()

template<size_t N>
__hydra_host__ __hydra_device__ GaussKronrodRule& hydra::GaussKronrodRule< N >::operator= ( GaussKronrodRule< N > const &  other)
inline

◆ Print()

template<size_t N>
void hydra::GaussKronrodRule< N >::Print ( )
inline

Field Documentation

◆ GaussN

template<size_t N>
constexpr size_t hydra::GaussKronrodRule< N >::GaussN = (N+1)/2
static

◆ GaussWeight

template<size_t N>
GReal_t hydra::GaussKronrodRule< N >::GaussWeight[GaussN]

◆ KronrodN

template<size_t N>
constexpr size_t hydra::GaussKronrodRule< N >::KronrodN = (N+1)/2
static

◆ KronrodWeight

template<size_t N>
GReal_t hydra::GaussKronrodRule< N >::KronrodWeight[KronrodN]

◆ X

template<size_t N>
GReal_t hydra::GaussKronrodRule< N >::X[KronrodN]

◆ hydra::GaussKronrodRuleSelector< 15 >

struct hydra::GaussKronrodRuleSelector< 15 >

template<>
struct hydra::GaussKronrodRuleSelector< 15 >

Rules for Gauss-Kronrod quadrature.

Collaboration diagram for hydra::GaussKronrodRuleSelector< 15 >:

Public Member Functions

 GaussKronrodRuleSelector ()
 

Data Fields

GaussKronrodRule< 15 > fRule
 

Constructor & Destructor Documentation

◆ GaussKronrodRuleSelector()

Field Documentation

◆ fRule

◆ hydra::GaussKronrodRuleSelector< 21 >

struct hydra::GaussKronrodRuleSelector< 21 >

template<>
struct hydra::GaussKronrodRuleSelector< 21 >

Rules for Gauss-Kronrod quadrature.

Collaboration diagram for hydra::GaussKronrodRuleSelector< 21 >:

Public Member Functions

 GaussKronrodRuleSelector ()
 

Data Fields

GaussKronrodRule< 21 > fRule
 

Constructor & Destructor Documentation

◆ GaussKronrodRuleSelector()

Field Documentation

◆ fRule

◆ hydra::GaussKronrodRuleSelector< 31 >

struct hydra::GaussKronrodRuleSelector< 31 >

template<>
struct hydra::GaussKronrodRuleSelector< 31 >

Rules for Gauss-Kronrod quadrature.

Collaboration diagram for hydra::GaussKronrodRuleSelector< 31 >:

Public Member Functions

 GaussKronrodRuleSelector ()
 

Data Fields

GaussKronrodRule< 31 > fRule
 

Constructor & Destructor Documentation

◆ GaussKronrodRuleSelector()

Field Documentation

◆ fRule

◆ hydra::GaussKronrodRuleSelector< 41 >

struct hydra::GaussKronrodRuleSelector< 41 >

template<>
struct hydra::GaussKronrodRuleSelector< 41 >

Rules for Gauss-Kronrod quadrature.

Collaboration diagram for hydra::GaussKronrodRuleSelector< 41 >:

Public Member Functions

 GaussKronrodRuleSelector ()
 

Data Fields

GaussKronrodRule< 41 > fRule
 

Constructor & Destructor Documentation

◆ GaussKronrodRuleSelector()

Field Documentation

◆ fRule

◆ hydra::GaussKronrodRuleSelector< 51 >

struct hydra::GaussKronrodRuleSelector< 51 >

template<>
struct hydra::GaussKronrodRuleSelector< 51 >

Rules for Gauss-Kronrod quadrature.

Collaboration diagram for hydra::GaussKronrodRuleSelector< 51 >:

Public Member Functions

 GaussKronrodRuleSelector ()
 

Data Fields

GaussKronrodRule< 51 > fRule
 

Constructor & Destructor Documentation

◆ GaussKronrodRuleSelector()

Field Documentation

◆ fRule

◆ hydra::GaussKronrodRuleSelector< 61 >

struct hydra::GaussKronrodRuleSelector< 61 >

template<>
struct hydra::GaussKronrodRuleSelector< 61 >

Rules for Gauss-Kronrod quadrature.

Collaboration diagram for hydra::GaussKronrodRuleSelector< 61 >:

Public Member Functions

 GaussKronrodRuleSelector ()
 

Data Fields

GaussKronrodRule< 61 > fRule
 

Constructor & Destructor Documentation

◆ GaussKronrodRuleSelector()

Field Documentation

◆ fRule

◆ hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >

class hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >

template<size_t N, hydra::detail::Backend BACKEND>
class hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >

Non-adaptive Genz-Malik multidimensional quadrature.

Non-adaptive Genz-Malik multidimensional quadrature. This algorithm follows the original paper prescription but does not implement the subdivision strategy yet. A. C. Genz and A. A. Malik, "An adaptive algorithm for numeric integration over an N-dimensional rectangular region," J. Comput. Appl. Math. 6 (4), 295–302 (1980). J. Berntsen, T. O. Espelid, and A. Genz, "An adaptive algorithm for the approximate calculation of multiple integrals," ACM Trans. Math. Soft. 17 (4), 437–451 (1991)

Inheritance diagram for hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >:
Collaboration diagram for hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >:

Public Member Functions

 GenzMalikQuadrature ()=delete
 
 GenzMalikQuadrature (std::array< GReal_t, N > const &LowerLimit, std::array< GReal_t, N > const &UpperLimit, std::array< size_t, N > const &grid, GReal_t fraction=0.25, GReal_t relative_error=0.001)
 Genz-Malik multidimensional quadrature constructor. More...
 
 GenzMalikQuadrature (std::array< GReal_t, N > const &LowerLimit, std::array< GReal_t, N > const &UpperLimit, size_t nboxes=10, GReal_t fraction=0.25, GReal_t relative_error=0.001)
 Genz-Malik multidimensional quadrature constructor. More...
 
 GenzMalikQuadrature (const GReal_t(&LowerLimit)[N], const GReal_t(&UpperLimit)[N], const size_t(&grid)[N], GReal_t fraction=0.25, GReal_t relative_error=0.001)
 Genz-Malik multidimensional quadrature constructor. More...
 
 GenzMalikQuadrature (const GReal_t(&LowerLimit)[N], const GReal_t(&UpperLimit)[N], size_t nboxes=10, GReal_t fraction=0.25, GReal_t relative_error=0.001)
 Genz-Malik multidimensional quadrature constructor. More...
 
 GenzMalikQuadrature (GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND >> const &other)
 Copy constructor. More...
 
template<hydra::detail::Backend BACKEND2>
 GenzMalikQuadrature (GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND2 >> const &other)
 Copy constructor. More...
 
const box_list_type & GetBoxList () const
 
const GenzMalikRule< N, hydra::detail::BackendPolicy< BACKEND > > & GetGenzMalikRule () const
 
template<typename FUNCTOR >
std::pair< GReal_t, GReal_tIntegrate (FUNCTOR const &functor)
 Integrate method. More...
 
GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > > & operator= (GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND >> const &other)
 Assignment operator. More...
 
template<hydra::detail::Backend BACKEND2>
GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > > & operator= (GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND2 >> const &other)
 Assignment operator. More...
 
void Print ()
 Print. More...
 
void SetBoxList (const box_list_type &boxList)
 
void SetGenzMalikRule (const GenzMalikRule< N, hydra::detail::BackendPolicy< BACKEND >> &genzMalikRule)
 
- Public Member Functions inherited from hydra::Integral< Algorithm, N >
template<typename Functor >
std::pair< GReal_t, GReal_toperator() (Functor const &functor)
 
template<typename Functor >
std::pair< GReal_t, GReal_toperator() (Functor const &functor, double(&min)[N], double(&max)[N])
 

Additional Inherited Members

- Public Types inherited from hydra::Integral< Algorithm, N >
typedef void hydra_integrator_type
 

Constructor & Destructor Documentation

◆ GenzMalikQuadrature() [1/7]

template<size_t N, hydra::detail::Backend BACKEND>
hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::GenzMalikQuadrature ( )
delete

◆ GenzMalikQuadrature() [2/7]

template<size_t N, hydra::detail::Backend BACKEND>
hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::GenzMalikQuadrature ( std::array< GReal_t, N > const &  LowerLimit,
std::array< GReal_t, N > const &  UpperLimit,
std::array< size_t, N > const &  grid,
GReal_t  fraction = 0.25,
GReal_t  relative_error = 0.001 
)
inline

Genz-Malik multidimensional quadrature constructor.

Parameters
LowerLimit: std::array with the lower limits of integration
UpperLimit: std::array with the upper limits of integration
grid: std::array with the number of divisions per dimension
fraction: fraction of boxes to adapt.
fRelativeErrormaximum relative error required

◆ GenzMalikQuadrature() [3/7]

template<size_t N, hydra::detail::Backend BACKEND>
hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::GenzMalikQuadrature ( std::array< GReal_t, N > const &  LowerLimit,
std::array< GReal_t, N > const &  UpperLimit,
size_t  nboxes = 10,
GReal_t  fraction = 0.25,
GReal_t  relative_error = 0.001 
)
inline

Genz-Malik multidimensional quadrature constructor.

Parameters
LowerLimit: std::array with the lower limits of integration
UpperLimit: std::array with the upper limits of integration
nboxes: max number of multidimensional boxes
fraction: fraction of boxes to adapt.
fRelativeErrormaximum relative error required

◆ GenzMalikQuadrature() [4/7]

template<size_t N, hydra::detail::Backend BACKEND>
hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::GenzMalikQuadrature ( const GReal_t(&)  LowerLimit[N],
const GReal_t(&)  UpperLimit[N],
const size_t(&)  grid[N],
GReal_t  fraction = 0.25,
GReal_t  relative_error = 0.001 
)
inline

Genz-Malik multidimensional quadrature constructor.

Parameters
LowerLimit: c-like array with the lower limits of integration
UpperLimit: c-like array with the upper limits of integration
grid: c-like array with the number of divisions per dimension
fraction: fraction of boxes to adapt.
fRelativeErrormaximum relative error required

◆ GenzMalikQuadrature() [5/7]

template<size_t N, hydra::detail::Backend BACKEND>
hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::GenzMalikQuadrature ( const GReal_t(&)  LowerLimit[N],
const GReal_t(&)  UpperLimit[N],
size_t  nboxes = 10,
GReal_t  fraction = 0.25,
GReal_t  relative_error = 0.001 
)
inline

Genz-Malik multidimensional quadrature constructor.

Parameters
LowerLimit: c-like with the lower limits of integration
UpperLimit: c-like with the upper limits of integration
nboxes: max number of multidimensional boxes
fraction: fraction of boxes to adapt.
fRelativeErrormaximum relative error required

◆ GenzMalikQuadrature() [6/7]

template<size_t N, hydra::detail::Backend BACKEND>
hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::GenzMalikQuadrature ( GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND >> const &  other)

Copy constructor.

Parameters
other: object on same back-end

◆ GenzMalikQuadrature() [7/7]

template<size_t N, hydra::detail::Backend BACKEND>
template<hydra::detail::Backend BACKEND2>
hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::GenzMalikQuadrature ( GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND2 >> const &  other)

Copy constructor.

Parameters
other: object on different back-end

Member Function Documentation

◆ GetBoxList()

template<size_t N, hydra::detail::Backend BACKEND>
const box_list_type& hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::GetBoxList ( ) const
inline

◆ GetGenzMalikRule()

template<size_t N, hydra::detail::Backend BACKEND>
const GenzMalikRule<N, hydra::detail::BackendPolicy<BACKEND> >& hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::GetGenzMalikRule ( ) const
inline

◆ Integrate()

template<size_t N, hydra::detail::Backend BACKEND>
template<typename FUNCTOR >
std::pair< GReal_t, GReal_t > hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::Integrate ( FUNCTOR const &  functor)

Integrate method.

Parameters
functor: integrand
Returns

◆ operator=() [1/2]

template<size_t N, hydra::detail::Backend BACKEND>
GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > > & hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::operator= ( GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND >> const &  other)

Assignment operator.

Parameters
other: object on same back-end
Returns

◆ operator=() [2/2]

template<size_t N, hydra::detail::Backend BACKEND>
template<hydra::detail::Backend BACKEND2>
GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > > & hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::operator= ( GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND2 >> const &  other)

Assignment operator.

Parameters
otherobject on different back-end
Returns

◆ Print()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::Print ( )
inline

◆ SetBoxList()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::SetBoxList ( const box_list_type &  boxList)
inline

◆ SetGenzMalikRule()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::GenzMalikQuadrature< N, hydra::detail::BackendPolicy< BACKEND > >::SetGenzMalikRule ( const GenzMalikRule< N, hydra::detail::BackendPolicy< BACKEND >> &  genzMalikRule)
inline

◆ hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >

class hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >

template<size_t DIM, hydra::detail::Backend BACKEND>
class hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >

Class representing Genz-Malik rule.

Inheritance diagram for hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >:
Collaboration diagram for hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >:

Public Types

typedef vector_abscissa_t::iterator abscissa_iterator
 
typedef storage_type::value_type abscissa_type
 
enum  AbscissaCategory_t {
  Central = 0, FirstLeft, SecondLeft, FirstRight,
  SecondRight, Multidimensional
}
 
typedef vector_abscissa_t::const_iterator const_abscissa_iterator
 
typedef storage_type::const_iterator const_iterator
 
typedef storage_type::iterator iterator
 
typedef multiarray< double, DIM+4, system_typestorage_type
 
typedef multivector< abscissa_t, hydra::detail::BackendPolicy< BACKEND > > vector_abscissa_t
 

Public Member Functions

 GenzMalikRule ()
 
 GenzMalikRule ()
 
 GenzMalikRule (GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND >> const &other)
 
template<hydra::detail::Backend BACKEND2>
 GenzMalikRule (GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND2 >> const &other)
 
 GenzMalikRule (GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND >> const &other)
 
template<hydra::detail::Backend BACKEND2>
 GenzMalikRule (GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND2 >> const &other)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
const storage_typeGetAbscissas () const
 
const vector_abscissa_tGetAbscissas () const
 
GReal_t GetLambda2 () const
 
GReal_t GetLambda2 () const
 
GReal_t GetLambda3 () const
 
GReal_t GetLambda3 () const
 
GReal_t GetLambda4 () const
 
GReal_t GetLambda4 () const
 
GReal_t GetLambda5 () const
 
GReal_t GetLambda5 () const
 
GReal_t GetRule5Weight1 () const
 
GReal_t GetRule5Weight1 () const
 
GReal_t GetRule5Weight2 () const
 
GReal_t GetRule5Weight2 () const
 
GReal_t GetRule5Weight3 () const
 
GReal_t GetRule5Weight3 () const
 
GReal_t GetRule5Weight4 () const
 
GReal_t GetRule5Weight4 () const
 
GReal_t GetRule7Weight1 () const
 
GReal_t GetRule7Weight1 () const
 
GReal_t GetRule7Weight2 () const
 
GReal_t GetRule7Weight2 () const
 
GReal_t GetRule7Weight3 () const
 
GReal_t GetRule7Weight3 () const
 
GReal_t GetRule7Weight4 () const
 
GReal_t GetRule7Weight4 () const
 
GReal_t GetRule7Weight5 () const
 
GReal_t GetRule7Weight5 () const
 
GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > > & operator= (GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND >> const &other)
 
GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > > & operator= (GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND >> const &other)
 
template<hydra::detail::Backend BACKEND2>
GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > > & operator= (GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND2 >> const &other)
 
template<hydra::detail::Backend BACKEND2>
GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > > & operator= (GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND2 >> const &other)
 
void Print ()
 
void Print ()
 
void SetAbscissas (const storage_type &abscissas)
 
void SetAbscissas (const vector_abscissa_t &abscissas)
 
void SetLambda2 (GReal_t lambda2)
 
void SetLambda2 (GReal_t lambda2)
 
void SetLambda3 (GReal_t lambda3)
 
void SetLambda3 (GReal_t lambda3)
 
void SetLambda4 (GReal_t lambda4)
 
void SetLambda4 (GReal_t lambda4)
 
void SetLambda5 (GReal_t lambda5)
 
void SetLambda5 (GReal_t lambda5)
 
void SetRule5Weight1 (GReal_t rule5Weight1)
 
void SetRule5Weight1 (GReal_t rule5Weight1)
 
void SetRule5Weight2 (GReal_t rule5Weight2)
 
void SetRule5Weight2 (GReal_t rule5Weight2)
 
void SetRule5Weight3 (GReal_t rule5Weight3)
 
void SetRule5Weight3 (GReal_t rule5Weight3)
 
void SetRule5Weight4 (GReal_t rule5Weight4)
 
void SetRule5Weight4 (GReal_t rule5Weight4)
 
void SetRule7Weight1 (GReal_t rule7Weight1)
 
void SetRule7Weight1 (GReal_t rule7Weight1)
 
void SetRule7Weight2 (GReal_t rule7Weight2)
 
void SetRule7Weight2 (GReal_t rule7Weight2)
 
void SetRule7Weight3 (GReal_t rule7Weight3)
 
void SetRule7Weight3 (GReal_t rule7Weight3)
 
void SetRule7Weight4 (GReal_t rule7Weight4)
 
void SetRule7Weight4 (GReal_t rule7Weight4)
 
void SetRule7Weight5 (GReal_t rule7Weight5)
 
void SetRule7Weight5 (GReal_t rule7Weight5)
 

Member Typedef Documentation

◆ abscissa_iterator

template<size_t DIM, hydra::detail::Backend BACKEND>
typedef vector_abscissa_t::iterator hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::abscissa_iterator

◆ abscissa_type

template<size_t DIM, hydra::detail::Backend BACKEND>
typedef storage_type::value_type hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::abscissa_type

◆ const_abscissa_iterator

template<size_t DIM, hydra::detail::Backend BACKEND>
typedef vector_abscissa_t::const_iterator hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::const_abscissa_iterator

◆ const_iterator

template<size_t DIM, hydra::detail::Backend BACKEND>
typedef storage_type::const_iterator hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::const_iterator

◆ iterator

template<size_t DIM, hydra::detail::Backend BACKEND>
typedef storage_type::iterator hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::iterator

◆ storage_type

template<size_t DIM, hydra::detail::Backend BACKEND>
typedef multiarray<double, DIM+4, system_type > hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::storage_type

◆ vector_abscissa_t

template<size_t DIM, hydra::detail::Backend BACKEND>
typedef multivector< abscissa_t, hydra::detail::BackendPolicy<BACKEND> > hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::vector_abscissa_t

Member Enumeration Documentation

◆ AbscissaCategory_t

template<size_t DIM, hydra::detail::Backend BACKEND>
enum hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::AbscissaCategory_t
Enumerator
Central 
FirstLeft 
SecondLeft 
FirstRight 
SecondRight 
Multidimensional 

Constructor & Destructor Documentation

◆ GenzMalikRule() [1/6]

template<size_t DIM, hydra::detail::Backend BACKEND>
hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GenzMalikRule ( )
inline

◆ GenzMalikRule() [2/6]

template<size_t DIM, hydra::detail::Backend BACKEND>
hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GenzMalikRule ( GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND >> const &  other)
inline

◆ GenzMalikRule() [3/6]

template<size_t DIM, hydra::detail::Backend BACKEND>
template<hydra::detail::Backend BACKEND2>
hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GenzMalikRule ( GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND2 >> const &  other)
inline

◆ GenzMalikRule() [4/6]

template<size_t DIM, hydra::detail::Backend BACKEND>
hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GenzMalikRule ( )
inline

◆ GenzMalikRule() [5/6]

template<size_t DIM, hydra::detail::Backend BACKEND>
hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GenzMalikRule ( GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND >> const &  other)
inline

◆ GenzMalikRule() [6/6]

template<size_t DIM, hydra::detail::Backend BACKEND>
template<hydra::detail::Backend BACKEND2>
hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GenzMalikRule ( GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND2 >> const &  other)
inline

Member Function Documentation

◆ begin() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
iterator hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::begin ( )
inline

◆ begin() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
const_iterator hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::begin ( ) const
inline

◆ end() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
iterator hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::end ( )
inline

◆ end() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
const_iterator hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::end ( ) const
inline

◆ GetAbscissas() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
const storage_type& hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetAbscissas ( ) const
inline

◆ GetAbscissas() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
const vector_abscissa_t& hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetAbscissas ( ) const
inline

◆ GetLambda2() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetLambda2 ( ) const
inline

◆ GetLambda2() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetLambda2 ( ) const
inline

◆ GetLambda3() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetLambda3 ( ) const
inline

◆ GetLambda3() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetLambda3 ( ) const
inline

◆ GetLambda4() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetLambda4 ( ) const
inline

◆ GetLambda4() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetLambda4 ( ) const
inline

◆ GetLambda5() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetLambda5 ( ) const
inline

◆ GetLambda5() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetLambda5 ( ) const
inline

◆ GetRule5Weight1() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule5Weight1 ( ) const
inline

◆ GetRule5Weight1() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule5Weight1 ( ) const
inline

◆ GetRule5Weight2() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule5Weight2 ( ) const
inline

◆ GetRule5Weight2() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule5Weight2 ( ) const
inline

◆ GetRule5Weight3() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule5Weight3 ( ) const
inline

◆ GetRule5Weight3() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule5Weight3 ( ) const
inline

◆ GetRule5Weight4() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule5Weight4 ( ) const
inline

◆ GetRule5Weight4() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule5Weight4 ( ) const
inline

◆ GetRule7Weight1() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule7Weight1 ( ) const
inline

◆ GetRule7Weight1() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule7Weight1 ( ) const
inline

◆ GetRule7Weight2() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule7Weight2 ( ) const
inline

◆ GetRule7Weight2() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule7Weight2 ( ) const
inline

◆ GetRule7Weight3() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule7Weight3 ( ) const
inline

◆ GetRule7Weight3() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule7Weight3 ( ) const
inline

◆ GetRule7Weight4() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule7Weight4 ( ) const
inline

◆ GetRule7Weight4() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule7Weight4 ( ) const
inline

◆ GetRule7Weight5() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule7Weight5 ( ) const
inline

◆ GetRule7Weight5() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
GReal_t hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::GetRule7Weight5 ( ) const
inline

◆ operator=() [1/4]

template<size_t DIM, hydra::detail::Backend BACKEND>
GenzMalikRule<DIM,hydra::detail::BackendPolicy<BACKEND> >& hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::operator= ( GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND >> const &  other)
inline

◆ operator=() [2/4]

template<size_t DIM, hydra::detail::Backend BACKEND>
GenzMalikRule<DIM,hydra::detail::BackendPolicy<BACKEND> >& hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::operator= ( GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND >> const &  other)
inline

◆ operator=() [3/4]

template<size_t DIM, hydra::detail::Backend BACKEND>
template<hydra::detail::Backend BACKEND2>
GenzMalikRule<DIM,hydra::detail::BackendPolicy<BACKEND> >& hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::operator= ( GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND2 >> const &  other)
inline

◆ operator=() [4/4]

template<size_t DIM, hydra::detail::Backend BACKEND>
template<hydra::detail::Backend BACKEND2>
GenzMalikRule<DIM,hydra::detail::BackendPolicy<BACKEND> >& hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::operator= ( GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND2 >> const &  other)
inline

◆ Print() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::Print ( )
inline

◆ Print() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::Print ( )
inline

◆ SetAbscissas() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetAbscissas ( const storage_type abscissas)
inline

◆ SetAbscissas() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetAbscissas ( const vector_abscissa_t abscissas)
inline

◆ SetLambda2() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetLambda2 ( GReal_t  lambda2)
inline

◆ SetLambda2() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetLambda2 ( GReal_t  lambda2)
inline

◆ SetLambda3() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetLambda3 ( GReal_t  lambda3)
inline

◆ SetLambda3() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetLambda3 ( GReal_t  lambda3)
inline

◆ SetLambda4() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetLambda4 ( GReal_t  lambda4)
inline

◆ SetLambda4() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetLambda4 ( GReal_t  lambda4)
inline

◆ SetLambda5() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetLambda5 ( GReal_t  lambda5)
inline

◆ SetLambda5() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetLambda5 ( GReal_t  lambda5)
inline

◆ SetRule5Weight1() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule5Weight1 ( GReal_t  rule5Weight1)
inline

◆ SetRule5Weight1() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule5Weight1 ( GReal_t  rule5Weight1)
inline

◆ SetRule5Weight2() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule5Weight2 ( GReal_t  rule5Weight2)
inline

◆ SetRule5Weight2() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule5Weight2 ( GReal_t  rule5Weight2)
inline

◆ SetRule5Weight3() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule5Weight3 ( GReal_t  rule5Weight3)
inline

◆ SetRule5Weight3() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule5Weight3 ( GReal_t  rule5Weight3)
inline

◆ SetRule5Weight4() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule5Weight4 ( GReal_t  rule5Weight4)
inline

◆ SetRule5Weight4() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule5Weight4 ( GReal_t  rule5Weight4)
inline

◆ SetRule7Weight1() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule7Weight1 ( GReal_t  rule7Weight1)
inline

◆ SetRule7Weight1() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule7Weight1 ( GReal_t  rule7Weight1)
inline

◆ SetRule7Weight2() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule7Weight2 ( GReal_t  rule7Weight2)
inline

◆ SetRule7Weight2() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule7Weight2 ( GReal_t  rule7Weight2)
inline

◆ SetRule7Weight3() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule7Weight3 ( GReal_t  rule7Weight3)
inline

◆ SetRule7Weight3() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule7Weight3 ( GReal_t  rule7Weight3)
inline

◆ SetRule7Weight4() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule7Weight4 ( GReal_t  rule7Weight4)
inline

◆ SetRule7Weight4() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule7Weight4 ( GReal_t  rule7Weight4)
inline

◆ SetRule7Weight5() [1/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule7Weight5 ( GReal_t  rule7Weight5)
inline

◆ SetRule7Weight5() [2/2]

template<size_t DIM, hydra::detail::Backend BACKEND>
void hydra::GenzMalikRule< DIM, hydra::detail::BackendPolicy< BACKEND > >::SetRule7Weight5 ( GReal_t  rule7Weight5)
inline

◆ hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >

class hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >

template<size_t N, hydra::detail::Backend BACKEND, typename GRND>
class hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >

This class implements the Plain MC numerical integration algorithm in Hydra.

The plain Monte Carlo algorithm samples points randomly from the integration region to estimate the integral and its error. Using this algorithm the estimate of the integral \(E(f|N)\) for N randomly distributed points \(x_i\) is given by,

\[E(f|N) == V <f> = (V / N) \sum_i^N f(x_i)\]

where \(V\) is the volume of the integration region. The error on this estimate \(\sigma(E|N)\) is calculated from the estimated variance of the mean, $[^2(E; N) = (V^2 / N^2)^N (f(x_i) - <f>)^2$]. For large \(N\) this variance decreases asymptotically as \( Var(f)/N \), where \( Var(f)\) is the true variance of the function over the integration region. The error estimate itself should decrease as \(\sigma(f)/\sqrt{N}\). The familiar law of errors decreasing as \(1/\sqrt{N}\) applies—to reduce the error by a factor of 10 requires a 100-fold increase in the number of sample points.

Inheritance diagram for hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >:
Collaboration diagram for hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >:

Public Member Functions

 Plain ()=delete
 
 Plain (std::array< GReal_t, N > const &LowLim, std::array< GReal_t, N > const &UpLim, size_t calls, size_t seed=159753456852)
 Constructor for Plain MC numerical integration algorithm. More...
 
 Plain (const double LowLim[N], const double UpLim[N], size_t calls, size_t seed=159753456852)
 Constructor for Plain MC numerical integration algorithm. More...
 
 Plain (Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND > const &other)
 
template<hydra::detail::Backend BACKEND2>
 Plain (Plain< N, hydra::detail::BackendPolicy< BACKEND2 >, GRND > const &other)
 
GReal_t GetAbsError () const
 Get the absolute error of integration. More...
 
const vector_t & GetDeltaX () const
 Get a vector with the width of the integration region in each direction. More...
 
size_t GetNCalls () const
 
GReal_t GetResult () const
 
size_t GetSeed () const
 
GReal_t GetSigma () const
 Get the absolute error of integration. More...
 
GReal_t GetVolume () const
 
const vector_t & GetXLow () const
 
template<typename FUNCTOR >
std::pair< GReal_t, GReal_tIntegrate (FUNCTOR const &fFunctor)
 This method performs the actual integration. More...
 
Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND > & operator= (Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND > const &other)
 
template<hydra::detail::Backend BACKEND2>
Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND > & operator= (Plain< N, hydra::detail::BackendPolicy< BACKEND2 >, GRND > const &other)
 
void SetAbsError (GReal_t absError)
 Set the absolute error of integration. More...
 
void SetDeltaX (const std::vector< GReal_t > &deltaX)
 Set a vector with the width of the integration region in each direction. More...
 
void SetNCalls (size_t nCalls)
 
void SetResult (GReal_t result)
 
void SetSeed (const size_t &seed)
 
void SetVolume (GReal_t volume)
 
void SetXLow (const std::vector< GReal_t > &xLow)
 
- Public Member Functions inherited from hydra::Integral< Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND > >
std::pair< GReal_t, GReal_toperator() (Functor const &functor)
 
std::pair< GReal_t, GReal_toperator() (Functor const &functor, double(&min)[N], double(&max)[N])
 

Additional Inherited Members

- Public Types inherited from hydra::Integral< Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND > >
typedef void hydra_integrator_type
 

Constructor & Destructor Documentation

◆ Plain() [1/5]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::Plain ( )
delete

◆ Plain() [2/5]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::Plain ( std::array< GReal_t, N > const &  LowLim,
std::array< GReal_t, N > const &  UpLim,
size_t  calls,
size_t  seed = 159753456852 
)
inline

Constructor for Plain MC numerical integration algorithm.

Parameters
LowLimis std::array<GReal_t,N> with the lower limits of the integration region.
UpLimstd::array<GReal_t,N> with the upper limits of the integration region.
callsNumber of calls.

◆ Plain() [3/5]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::Plain ( const double  LowLim[N],
const double  UpLim[N],
size_t  calls,
size_t  seed = 159753456852 
)
inline

Constructor for Plain MC numerical integration algorithm.

Parameters
LowLimis std::array<GReal_t,N> with the lower limits of the integration region.
UpLimstd::array<GReal_t,N> with the upper limits of the integration region.
callsNumber of calls.

◆ Plain() [4/5]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::Plain ( Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND > const &  other)
inline

◆ Plain() [5/5]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
template<hydra::detail::Backend BACKEND2>
hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::Plain ( Plain< N, hydra::detail::BackendPolicy< BACKEND2 >, GRND > const &  other)
inline

Member Function Documentation

◆ GetAbsError()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
GReal_t hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::GetAbsError ( ) const
inline

Get the absolute error of integration.

Returns
error of integration.

◆ GetDeltaX()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
const vector_t& hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::GetDeltaX ( ) const
inline

Get a vector with the width of the integration region in each direction.

Returns
hydra::thrust::[backend]::vector<double>.

◆ GetNCalls()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
size_t hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::GetNCalls ( ) const
inline

◆ GetResult()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
GReal_t hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::GetResult ( ) const
inline

◆ GetSeed()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
size_t hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::GetSeed ( ) const
inline

◆ GetSigma()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
GReal_t hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::GetSigma ( ) const
inline

Get the absolute error of integration.

Returns
error of integration.

◆ GetVolume()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
GReal_t hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::GetVolume ( ) const
inline

◆ GetXLow()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
const vector_t& hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::GetXLow ( ) const
inline

◆ Integrate()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
template<typename FUNCTOR >
std::pair< GReal_t, GReal_t > hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::Integrate ( FUNCTOR const &  fFunctor)
inline

This method performs the actual integration.

Parameters
fFunctorfunctor (integrand).
Returns
std::pair<GReal_t, GReal_t> with the integration result and error.

◆ operator=() [1/2]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
Plain<N, hydra::detail::BackendPolicy<BACKEND>, GRND>& hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::operator= ( Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND > const &  other)
inline

◆ operator=() [2/2]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
template<hydra::detail::Backend BACKEND2>
Plain<N, hydra::detail::BackendPolicy<BACKEND>, GRND>& hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::operator= ( Plain< N, hydra::detail::BackendPolicy< BACKEND2 >, GRND > const &  other)
inline

◆ SetAbsError()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
void hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::SetAbsError ( GReal_t  absError)
inline

Set the absolute error of integration.

Parameters
absErrorerror of integration.

◆ SetDeltaX()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
void hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::SetDeltaX ( const std::vector< GReal_t > &  deltaX)
inline

Set a vector with the width of the integration region in each direction.

Parameters
deltaX

◆ SetNCalls()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
void hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::SetNCalls ( size_t  nCalls)
inline

◆ SetResult()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
void hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::SetResult ( GReal_t  result)
inline

◆ SetSeed()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
void hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::SetSeed ( const size_t &  seed)
inline

◆ SetVolume()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
void hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::SetVolume ( GReal_t  volume)
inline

◆ SetXLow()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
void hydra::Plain< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::SetXLow ( const std::vector< GReal_t > &  xLow)
inline

◆ hydra::PlainState

struct hydra::PlainState

Simple structure to hold the results of the Plain MC numerical integration.

Collaboration diagram for hydra::PlainState:

Public Member Functions

__hydra_host__ __hydra_device__ PlainState ()
 
__hydra_host__ __hydra_device__ PlainState (PlainState const &other)
 
__hydra_host__ __hydra_device__ GReal_t variance ()
 
__hydra_host__ __hydra_device__ GReal_t variance_n ()
 

Data Fields

GReal_t fM2
 
GReal_t fMax
 
GReal_t fMean
 
GReal_t fMin
 
size_t fN
 

Constructor & Destructor Documentation

◆ PlainState() [1/2]

__hydra_host__ __hydra_device__ hydra::PlainState::PlainState ( )
inline

◆ PlainState() [2/2]

__hydra_host__ __hydra_device__ hydra::PlainState::PlainState ( PlainState const &  other)
inline

Member Function Documentation

◆ variance()

__hydra_host__ __hydra_device__ GReal_t hydra::PlainState::variance ( )
inline

◆ variance_n()

__hydra_host__ __hydra_device__ GReal_t hydra::PlainState::variance_n ( )
inline

Field Documentation

◆ fM2

GReal_t hydra::PlainState::fM2

◆ fMax

GReal_t hydra::PlainState::fMax

◆ fMean

GReal_t hydra::PlainState::fMean

◆ fMin

GReal_t hydra::PlainState::fMin

◆ fN

size_t hydra::PlainState::fN

◆ hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >

class hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >

template<size_t N, hydra::detail::Backend BACKEND, typename GRND>
class hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >

Class to perform numerical integration using Vegas algorithm.

The VEGAS algorithm of Lepage is based on importance sampling. It samples points from the probability distribution described by the function |f|, so that the points are concentrated in the regions that make the largest contribution to the integral.

Find a more complete documentation here .

Inheritance diagram for hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >:
Collaboration diagram for hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >:

Public Member Functions

 Vegas ()=delete
 
 Vegas (std::array< GReal_t, N > const &xlower, std::array< GReal_t, N > const &xupper, size_t ncalls)
 
 Vegas (VegasState< N, hydra::detail::BackendPolicy< BACKEND >> const &state)
 
 Vegas (Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND > const &other)
 
template<hydra::detail::Backend BACKEND2, typename GRND2 >
 Vegas (Vegas< N, hydra::detail::BackendPolicy< BACKEND2 >, GRND2 > const &other)
 
VegasState< N, hydra::detail::BackendPolicy< BACKEND > > & GetState ()
 
VegasState< N, hydra::detail::BackendPolicy< BACKEND > > const & GetState () const
 
template<typename FUNCTOR >
std::pair< GReal_t, GReal_tIntegrate (FUNCTOR const &fFunctor)
 
Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND > & operator= (Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND > const &other)
 
template<hydra::detail::Backend BACKEND2, typename GRND2 >
Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND > & operator= (Vegas< N, hydra::detail::BackendPolicy< BACKEND2 >, GRND2 > const &other)
 
void PrintDistribution ()
 
void PrintGrid ()
 
void PrintHead ()
 
void PrintLimits ()
 
void PrintResults (GReal_t integral, GReal_t sigma, GReal_t cumulated_integral, GReal_t cumulated_sigma, GReal_t time)
 
void SetState (VegasState< N, hydra::detail::BackendPolicy< BACKEND >> const &state)
 
- Public Member Functions inherited from hydra::Integral< Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND > >
std::pair< GReal_t, GReal_toperator() (Functor const &functor)
 
std::pair< GReal_t, GReal_toperator() (Functor const &functor, double(&min)[N], double(&max)[N])
 

Additional Inherited Members

- Public Types inherited from hydra::Integral< Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND > >
typedef void hydra_integrator_type
 

Constructor & Destructor Documentation

◆ Vegas() [1/5]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::Vegas ( )
delete

◆ Vegas() [2/5]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::Vegas ( std::array< GReal_t, N > const &  xlower,
std::array< GReal_t, N > const &  xupper,
size_t  ncalls 
)
inline

◆ Vegas() [3/5]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::Vegas ( VegasState< N, hydra::detail::BackendPolicy< BACKEND >> const &  state)
inline

◆ Vegas() [4/5]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::Vegas ( Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND > const &  other)
inline

◆ Vegas() [5/5]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
template<hydra::detail::Backend BACKEND2, typename GRND2 >
hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::Vegas ( Vegas< N, hydra::detail::BackendPolicy< BACKEND2 >, GRND2 > const &  other)
inline

Member Function Documentation

◆ GetState() [1/2]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
VegasState<N,hydra::detail::BackendPolicy<BACKEND> >& hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::GetState ( )
inline

◆ GetState() [2/2]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
VegasState<N,hydra::detail::BackendPolicy<BACKEND> > const& hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::GetState ( ) const
inline

◆ Integrate()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
template<typename FUNCTOR >
std::pair< GReal_t, GReal_t > hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::Integrate ( FUNCTOR const &  fFunctor)
inline

◆ operator=() [1/2]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
Vegas< N, hydra::detail::BackendPolicy<BACKEND>, GRND>& hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::operator= ( Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND > const &  other)
inline

◆ operator=() [2/2]

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
template<hydra::detail::Backend BACKEND2, typename GRND2 >
Vegas< N, hydra::detail::BackendPolicy<BACKEND>, GRND>& hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::operator= ( Vegas< N, hydra::detail::BackendPolicy< BACKEND2 >, GRND2 > const &  other)
inline

◆ PrintDistribution()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
void hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::PrintDistribution ( )

◆ PrintGrid()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
void hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::PrintGrid ( )

◆ PrintHead()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
void hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::PrintHead ( )

◆ PrintLimits()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
void hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::PrintLimits ( )

◆ PrintResults()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
void hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::PrintResults ( GReal_t  integral,
GReal_t  sigma,
GReal_t  cumulated_integral,
GReal_t  cumulated_sigma,
GReal_t  time 
)

◆ SetState()

template<size_t N, hydra::detail::Backend BACKEND, typename GRND >
void hydra::Vegas< N, hydra::detail::BackendPolicy< BACKEND >, GRND >::SetState ( VegasState< N, hydra::detail::BackendPolicy< BACKEND >> const &  state)
inline

◆ hydra::VegasState

class hydra::VegasState

template<size_t N, typename BACKEND>
class hydra::VegasState< N, BACKEND >

Class to hold resources and state of hydra::Vegas integration algorithm.

Template Parameters
Nnumber of parameters.
BACKENDcan be hydra::omp::sys , hydra::cuda::sys , hydra::tbb::sys , hydra::cpp::sys ,hydra::host::sys and hydra::device::sys.
Examples:
vegas.inl.
Collaboration diagram for hydra::VegasState< N, BACKEND >:

◆ hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >

class hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >

template<size_t N, hydra::detail::Backend BACKEND>
class hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >

Class to hold resources and state of hydra::Vegas integration algorithm.

Template Parameters
Nnumber of parameters.
hydra::detail::BackendPolicy<BACKEND>can be hydra::omp::sys , hydra::cuda::sys , hydra::tbb::sys , hydra::cpp::sys ,hydra::host::sys and hydra::device::sys.
Collaboration diagram for hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >:

Public Member Functions

 VegasState ()=delete
 
 VegasState (std::array< GReal_t, N > const &xlower, std::array< GReal_t, N > const &xupper)
 Constructor. More...
 
 VegasState (const GReal_t xlower[N], const GReal_t xupper[N])
 Constructor. More...
 
 VegasState (const VegasState< N, hydra::detail::BackendPolicy< BACKEND >> &state)
 Copy constructor for a state in the same backend. More...
 
template<hydra::detail::Backend BACKEND2>
 VegasState (const VegasState< N, hydra::detail::BackendPolicy< BACKEND2 >> &state)
 Copy constructor for a state in a different backend. More...
 
void ClearStoredIterations ()
 Clear results of previously stored iterations. More...
 
void CopyStateToDevice ()
 
void CopyStateToHost ()
 
GReal_t GetAlpha () const
 
rvector_backend & GetBackendDeltaX ()
 
const rvector_backend & GetBackendDeltaX () const
 
rvector_backend & GetBackendXi ()
 
const rvector_backend & GetBackendXi () const
 
rvector_backend & GetBackendXLow ()
 
const rvector_backend & GetBackendXLow () const
 
size_t GetCalls () const
 
size_t GetCalls (GBool_t training) const
 
size_t GetCallsPerBox () const
 
GReal_t GetChiSquare () const
 
GReal_t GetChiSum () const
 
const std::vector< GReal_t > & GetCumulatedResult () const
 
const std::vector< GReal_t > & GetCumulatedSigma () const
 
const std::vector< GReal_t > & GetDeltaX () const
 
const std::vector< GReal_t > & GetDistribution () const
 
std::vector< GReal_t > & GetDistribution ()
 
std::vector< GReal_t > const & GetFunctionCallsDuration () const
 
const std::vector< GReal_t > & GetIterationDuration () const
 
const std::vector< GReal_t > & GetIterationResult () const
 
GUInt_t GetIterations () const
 
const std::vector< GReal_t > & GetIterationSigma () const
 
GUInt_t GetItNum () const
 
GUInt_t GetItStart () const
 
GReal_t GetJacobian () const
 
GReal_t GetMaxError () const
 
GInt_t GetMode () const
 
size_t GetNBins () const
 
size_t GetNBinsMax () const
 
size_t GetNBoxes () const
 
size_t GetNDimensions () const
 
std::ostream & GetOStream ()
 
GReal_t GetResult () const
 
GUInt_t GetSamples () const
 
GReal_t GetSigma () const
 
GInt_t GetStage () const
 
GReal_t GetSumOfWeights () const
 
size_t GetTrainingCalls () const
 
GUInt_t GetTrainingIterations () const
 
GInt_t GetVerbose () const
 
GReal_t GetVolume () const
 
const std::vector< GReal_t > & GetWeight () const
 
GReal_t GetWeightedIntSum () const
 
const std::vector< GReal_t > & GetXi () const
 
const std::vector< GReal_t > & GetXin () const
 
const std::vector< GReal_t > & GetXLow () const
 
const std::vector< GReal_t > & GetXUp () const
 
GBool_t IsTrainedGridFrozen () const
 
GBool_t IsUseRelativeError () const
 
VegasState< N, hydra::detail::BackendPolicy< BACKEND > > & operator= (const VegasState< N, hydra::detail::BackendPolicy< BACKEND >> &state)
 
template<hydra::detail::Backend BACKEND2>
VegasState< N, hydra::detail::BackendPolicy< BACKEND > > & operator= (const VegasState< N, hydra::detail::BackendPolicy< BACKEND2 >> &state)
 Copy constructor for a state in a different backend. More...
 
void SendGridToBackend ()
 
void SetAlpha (GReal_t alpha)
 
void SetBackendDeltaX (const rvector_backend &deviceDeltaX)
 
void SetBackendXi (const rvector_backend &deviceXi)
 
void SetBackendXLow (const rvector_backend &deviceXLow)
 
void SetCalls (size_t calls)
 
void SetCalls (GBool_t training, size_t calls)
 
void SetCallsPerBox (size_t callsPerBox)
 
void SetChiSquare (GReal_t chiSquare)
 
void SetChiSum (GReal_t chiSum)
 
void SetCumulatedResult (const std::vector< GReal_t > &cumulatedResult)
 
void SetCumulatedSigma (const std::vector< GReal_t > &cumulatedSigma)
 
void SetDeltaX (const std::vector< GReal_t > &deltaX)
 
void SetDeltaX (GUInt_t i, GReal_t dx)
 
void SetDistribution (const std::vector< GReal_t > &distribution)
 
void SetDistribution (GUInt_t i, GReal_t x)
 
void SetDistribution (GUInt_t bin, GUInt_t dim, GReal_t x)
 
void SetFunctionCallsDuration (std::vector< GReal_t > functionCallsDuration)
 
void SetIterationDuration (const std::vector< GReal_t > &iterationDuration)
 
void SetIterationResult (const std::vector< GReal_t > &iterationResult)
 
void SetIterations (GUInt_t iterations)
 
void SetIterationSigma (const std::vector< GReal_t > &iterationSigma)
 
void SetItNum (GUInt_t itNum)
 
void SetItStart (GUInt_t itStart)
 
void SetJacobian (GReal_t jacobian)
 
void SetMaxError (GReal_t maxError)
 
void SetMode (GInt_t mode)
 
void SetNBins (size_t nBins)
 
void SetNBinsMax (size_t nBinsMax)
 
void SetNBoxes (size_t nBoxes)
 
void SetNDimensions (size_t nDimensions)
 
void SetResult (GReal_t result)
 
void SetSamples (GUInt_t samples)
 
void SetSigma (GReal_t sigma)
 
void SetStage (GInt_t stage)
 
void SetSumOfWeights (GReal_t sumOfWeights)
 
void SetTrainedGridFrozen (GBool_t trainedGridFrozen)
 
void SetTrainingCalls (size_t trainingCalls)
 
void SetTrainingIterations (GUInt_t trainingIterations)
 
void SetUseRelativeError (GBool_t useRelativeError)
 
void SetVerbose (GInt_t verbose)
 
void SetVolume (GReal_t volume)
 
void SetWeight (const std::vector< GReal_t > &weight)
 
void SetWeight (GUInt_t i, GReal_t weight)
 
void SetWeightedIntSum (GReal_t weightedIntSum)
 
void SetXi (const std::vector< GReal_t > &xi)
 
void SetXi (GInt_t i, GReal_t xi)
 
void SetXin (const std::vector< GReal_t > &xin)
 
void SetXin (GUInt_t i, GReal_t xin)
 
void SetXLow (const std::vector< GReal_t > &xLow)
 
void SetXUp (const std::vector< GReal_t > &xUp)
 
void StoreCumulatedResult (const GReal_t integral, const GReal_t sigma)
 
void StoreFunctionCallsDuration (const GReal_t timing)
 
void StoreIterationDuration (const GReal_t timing)
 
void StoreIterationResult (const GReal_t integral, const GReal_t sigma)
 

Constructor & Destructor Documentation

◆ VegasState() [1/5]

template<size_t N, hydra::detail::Backend BACKEND>
hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::VegasState ( )
delete

◆ VegasState() [2/5]

template<size_t N, hydra::detail::Backend BACKEND>
hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::VegasState ( std::array< GReal_t, N > const &  xlower,
std::array< GReal_t, N > const &  xupper 
)

Constructor.

Parameters
xlowerstd::array<GReal_t,N> with the lower limits of the integration region.
xupperstd::array<GReal_t,N> with the upper limits of the integration region.

◆ VegasState() [3/5]

template<size_t N, hydra::detail::Backend BACKEND>
hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::VegasState ( const GReal_t  xlower[N],
const GReal_t  xupper[N] 
)

Constructor.

Parameters
xlowerflat array with the lower limits of the integration region.
xupperflat array with the upper limits of the integration region.

◆ VegasState() [4/5]

template<size_t N, hydra::detail::Backend BACKEND>
hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::VegasState ( const VegasState< N, hydra::detail::BackendPolicy< BACKEND >> &  state)

Copy constructor for a state in the same backend.

Parameters
state

◆ VegasState() [5/5]

template<size_t N, hydra::detail::Backend BACKEND>
template<hydra::detail::Backend BACKEND2>
hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::VegasState ( const VegasState< N, hydra::detail::BackendPolicy< BACKEND2 >> &  state)

Copy constructor for a state in a different backend.

Parameters
state
Template Parameters
BACKEND2different backend.

Member Function Documentation

◆ ClearStoredIterations()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::ClearStoredIterations ( )

Clear results of previously stored iterations.

◆ CopyStateToDevice()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::CopyStateToDevice ( )
inline

◆ CopyStateToHost()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::CopyStateToHost ( )
inline

◆ GetAlpha()

template<size_t N, hydra::detail::Backend BACKEND>
GReal_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetAlpha ( ) const
inline

◆ GetBackendDeltaX() [1/2]

template<size_t N, hydra::detail::Backend BACKEND>
rvector_backend& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetBackendDeltaX ( )
inline

◆ GetBackendDeltaX() [2/2]

template<size_t N, hydra::detail::Backend BACKEND>
const rvector_backend& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetBackendDeltaX ( ) const
inline

◆ GetBackendXi() [1/2]

template<size_t N, hydra::detail::Backend BACKEND>
rvector_backend& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetBackendXi ( )
inline

◆ GetBackendXi() [2/2]

template<size_t N, hydra::detail::Backend BACKEND>
const rvector_backend& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetBackendXi ( ) const
inline

◆ GetBackendXLow() [1/2]

template<size_t N, hydra::detail::Backend BACKEND>
rvector_backend& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetBackendXLow ( )
inline

◆ GetBackendXLow() [2/2]

template<size_t N, hydra::detail::Backend BACKEND>
const rvector_backend& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetBackendXLow ( ) const
inline

◆ GetCalls() [1/2]

template<size_t N, hydra::detail::Backend BACKEND>
size_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetCalls ( ) const
inline

◆ GetCalls() [2/2]

template<size_t N, hydra::detail::Backend BACKEND>
size_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetCalls ( GBool_t  training) const
inline

◆ GetCallsPerBox()

template<size_t N, hydra::detail::Backend BACKEND>
size_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetCallsPerBox ( ) const
inline

◆ GetChiSquare()

template<size_t N, hydra::detail::Backend BACKEND>
GReal_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetChiSquare ( ) const
inline

◆ GetChiSum()

template<size_t N, hydra::detail::Backend BACKEND>
GReal_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetChiSum ( ) const
inline

◆ GetCumulatedResult()

template<size_t N, hydra::detail::Backend BACKEND>
const std::vector<GReal_t>& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetCumulatedResult ( ) const
inline

◆ GetCumulatedSigma()

template<size_t N, hydra::detail::Backend BACKEND>
const std::vector<GReal_t>& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetCumulatedSigma ( ) const
inline

◆ GetDeltaX()

template<size_t N, hydra::detail::Backend BACKEND>
const std::vector<GReal_t>& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetDeltaX ( ) const
inline

◆ GetDistribution() [1/2]

template<size_t N, hydra::detail::Backend BACKEND>
const std::vector<GReal_t>& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetDistribution ( ) const
inline

◆ GetDistribution() [2/2]

template<size_t N, hydra::detail::Backend BACKEND>
std::vector<GReal_t>& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetDistribution ( )
inline

◆ GetFunctionCallsDuration()

template<size_t N, hydra::detail::Backend BACKEND>
std::vector<GReal_t> const& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetFunctionCallsDuration ( ) const
inline

◆ GetIterationDuration()

template<size_t N, hydra::detail::Backend BACKEND>
const std::vector<GReal_t>& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetIterationDuration ( ) const
inline

◆ GetIterationResult()

template<size_t N, hydra::detail::Backend BACKEND>
const std::vector<GReal_t>& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetIterationResult ( ) const
inline

◆ GetIterations()

template<size_t N, hydra::detail::Backend BACKEND>
GUInt_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetIterations ( ) const
inline

◆ GetIterationSigma()

template<size_t N, hydra::detail::Backend BACKEND>
const std::vector<GReal_t>& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetIterationSigma ( ) const
inline

◆ GetItNum()

template<size_t N, hydra::detail::Backend BACKEND>
GUInt_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetItNum ( ) const
inline

◆ GetItStart()

template<size_t N, hydra::detail::Backend BACKEND>
GUInt_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetItStart ( ) const
inline

◆ GetJacobian()

template<size_t N, hydra::detail::Backend BACKEND>
GReal_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetJacobian ( ) const
inline

◆ GetMaxError()

template<size_t N, hydra::detail::Backend BACKEND>
GReal_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetMaxError ( ) const
inline

◆ GetMode()

template<size_t N, hydra::detail::Backend BACKEND>
GInt_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetMode ( ) const
inline

◆ GetNBins()

template<size_t N, hydra::detail::Backend BACKEND>
size_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetNBins ( ) const
inline

◆ GetNBinsMax()

template<size_t N, hydra::detail::Backend BACKEND>
size_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetNBinsMax ( ) const
inline

◆ GetNBoxes()

template<size_t N, hydra::detail::Backend BACKEND>
size_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetNBoxes ( ) const
inline

◆ GetNDimensions()

template<size_t N, hydra::detail::Backend BACKEND>
size_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetNDimensions ( ) const
inline

◆ GetOStream()

template<size_t N, hydra::detail::Backend BACKEND>
std::ostream& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetOStream ( )
inline

◆ GetResult()

template<size_t N, hydra::detail::Backend BACKEND>
GReal_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetResult ( ) const
inline

◆ GetSamples()

template<size_t N, hydra::detail::Backend BACKEND>
GUInt_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetSamples ( ) const
inline

◆ GetSigma()

template<size_t N, hydra::detail::Backend BACKEND>
GReal_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetSigma ( ) const
inline

◆ GetStage()

template<size_t N, hydra::detail::Backend BACKEND>
GInt_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetStage ( ) const
inline

◆ GetSumOfWeights()

template<size_t N, hydra::detail::Backend BACKEND>
GReal_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetSumOfWeights ( ) const
inline

◆ GetTrainingCalls()

template<size_t N, hydra::detail::Backend BACKEND>
size_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetTrainingCalls ( ) const
inline

◆ GetTrainingIterations()

template<size_t N, hydra::detail::Backend BACKEND>
GUInt_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetTrainingIterations ( ) const
inline

◆ GetVerbose()

template<size_t N, hydra::detail::Backend BACKEND>
GInt_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetVerbose ( ) const
inline

◆ GetVolume()

template<size_t N, hydra::detail::Backend BACKEND>
GReal_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetVolume ( ) const
inline

◆ GetWeight()

template<size_t N, hydra::detail::Backend BACKEND>
const std::vector<GReal_t>& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetWeight ( ) const
inline

◆ GetWeightedIntSum()

template<size_t N, hydra::detail::Backend BACKEND>
GReal_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetWeightedIntSum ( ) const
inline

◆ GetXi()

template<size_t N, hydra::detail::Backend BACKEND>
const std::vector<GReal_t>& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetXi ( ) const
inline

◆ GetXin()

template<size_t N, hydra::detail::Backend BACKEND>
const std::vector<GReal_t>& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetXin ( ) const
inline

◆ GetXLow()

template<size_t N, hydra::detail::Backend BACKEND>
const std::vector<GReal_t>& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetXLow ( ) const
inline

◆ GetXUp()

template<size_t N, hydra::detail::Backend BACKEND>
const std::vector<GReal_t>& hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::GetXUp ( ) const
inline

◆ IsTrainedGridFrozen()

template<size_t N, hydra::detail::Backend BACKEND>
GBool_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::IsTrainedGridFrozen ( ) const
inline

◆ IsUseRelativeError()

template<size_t N, hydra::detail::Backend BACKEND>
GBool_t hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::IsUseRelativeError ( ) const
inline

◆ operator=() [1/2]

template<size_t N, hydra::detail::Backend BACKEND>
VegasState< N, hydra::detail::BackendPolicy< BACKEND > > & hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::operator= ( const VegasState< N, hydra::detail::BackendPolicy< BACKEND >> &  state)

◆ operator=() [2/2]

template<size_t N, hydra::detail::Backend BACKEND>
template<hydra::detail::Backend BACKEND2>
VegasState< N, hydra::detail::BackendPolicy< BACKEND > > & hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::operator= ( const VegasState< N, hydra::detail::BackendPolicy< BACKEND2 >> &  state)

Copy constructor for a state in a different backend.

Parameters
state
Template Parameters
BACKEND2different backend.

◆ SendGridToBackend()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SendGridToBackend ( )
inline

◆ SetAlpha()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetAlpha ( GReal_t  alpha)
inline

◆ SetBackendDeltaX()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetBackendDeltaX ( const rvector_backend &  deviceDeltaX)
inline

◆ SetBackendXi()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetBackendXi ( const rvector_backend &  deviceXi)
inline

◆ SetBackendXLow()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetBackendXLow ( const rvector_backend &  deviceXLow)
inline

◆ SetCalls() [1/2]

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetCalls ( size_t  calls)
inline

◆ SetCalls() [2/2]

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetCalls ( GBool_t  training,
size_t  calls 
)
inline

◆ SetCallsPerBox()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetCallsPerBox ( size_t  callsPerBox)
inline

◆ SetChiSquare()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetChiSquare ( GReal_t  chiSquare)
inline

◆ SetChiSum()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetChiSum ( GReal_t  chiSum)
inline

◆ SetCumulatedResult()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetCumulatedResult ( const std::vector< GReal_t > &  cumulatedResult)
inline

◆ SetCumulatedSigma()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetCumulatedSigma ( const std::vector< GReal_t > &  cumulatedSigma)
inline

◆ SetDeltaX() [1/2]

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetDeltaX ( const std::vector< GReal_t > &  deltaX)
inline

◆ SetDeltaX() [2/2]

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetDeltaX ( GUInt_t  i,
GReal_t  dx 
)
inline

◆ SetDistribution() [1/3]

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetDistribution ( const std::vector< GReal_t > &  distribution)
inline

◆ SetDistribution() [2/3]

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetDistribution ( GUInt_t  i,
GReal_t  x 
)
inline

◆ SetDistribution() [3/3]

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetDistribution ( GUInt_t  bin,
GUInt_t  dim,
GReal_t  x 
)
inline

◆ SetFunctionCallsDuration()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetFunctionCallsDuration ( std::vector< GReal_t functionCallsDuration)
inline

◆ SetIterationDuration()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetIterationDuration ( const std::vector< GReal_t > &  iterationDuration)
inline

◆ SetIterationResult()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetIterationResult ( const std::vector< GReal_t > &  iterationResult)
inline

◆ SetIterations()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetIterations ( GUInt_t  iterations)
inline

◆ SetIterationSigma()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetIterationSigma ( const std::vector< GReal_t > &  iterationSigma)
inline

◆ SetItNum()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetItNum ( GUInt_t  itNum)
inline

◆ SetItStart()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetItStart ( GUInt_t  itStart)
inline

◆ SetJacobian()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetJacobian ( GReal_t  jacobian)
inline

◆ SetMaxError()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetMaxError ( GReal_t  maxError)
inline

◆ SetMode()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetMode ( GInt_t  mode)
inline

◆ SetNBins()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetNBins ( size_t  nBins)
inline

◆ SetNBinsMax()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetNBinsMax ( size_t  nBinsMax)
inline

◆ SetNBoxes()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetNBoxes ( size_t  nBoxes)
inline

◆ SetNDimensions()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetNDimensions ( size_t  nDimensions)
inline

◆ SetResult()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetResult ( GReal_t  result)
inline

◆ SetSamples()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetSamples ( GUInt_t  samples)
inline

◆ SetSigma()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetSigma ( GReal_t  sigma)
inline

◆ SetStage()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetStage ( GInt_t  stage)
inline

◆ SetSumOfWeights()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetSumOfWeights ( GReal_t  sumOfWeights)
inline

◆ SetTrainedGridFrozen()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetTrainedGridFrozen ( GBool_t  trainedGridFrozen)
inline

◆ SetTrainingCalls()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetTrainingCalls ( size_t  trainingCalls)
inline

◆ SetTrainingIterations()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetTrainingIterations ( GUInt_t  trainingIterations)
inline

◆ SetUseRelativeError()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetUseRelativeError ( GBool_t  useRelativeError)
inline

◆ SetVerbose()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetVerbose ( GInt_t  verbose)
inline

◆ SetVolume()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetVolume ( GReal_t  volume)
inline

◆ SetWeight() [1/2]

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetWeight ( const std::vector< GReal_t > &  weight)
inline

◆ SetWeight() [2/2]

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetWeight ( GUInt_t  i,
GReal_t  weight 
)
inline

◆ SetWeightedIntSum()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetWeightedIntSum ( GReal_t  weightedIntSum)
inline

◆ SetXi() [1/2]

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetXi ( const std::vector< GReal_t > &  xi)
inline

◆ SetXi() [2/2]

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetXi ( GInt_t  i,
GReal_t  xi 
)
inline

◆ SetXin() [1/2]

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetXin ( const std::vector< GReal_t > &  xin)
inline

◆ SetXin() [2/2]

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetXin ( GUInt_t  i,
GReal_t  xin 
)
inline

◆ SetXLow()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetXLow ( const std::vector< GReal_t > &  xLow)
inline

◆ SetXUp()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::SetXUp ( const std::vector< GReal_t > &  xUp)
inline

◆ StoreCumulatedResult()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::StoreCumulatedResult ( const GReal_t  integral,
const GReal_t  sigma 
)
inline

◆ StoreFunctionCallsDuration()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::StoreFunctionCallsDuration ( const GReal_t  timing)
inline

◆ StoreIterationDuration()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::StoreIterationDuration ( const GReal_t  timing)
inline

◆ StoreIterationResult()

template<size_t N, hydra::detail::Backend BACKEND>
void hydra::VegasState< N, hydra::detail::BackendPolicy< BACKEND > >::StoreIterationResult ( const GReal_t  integral,
const GReal_t  sigma 
)
inline