MRPT  2.0.4
List of all members | Classes | Public Member Functions | Public Attributes | Private Attributes
mrpt::math::CMonteCarlo< T, NUM, OTHER > Class Template Reference

Detailed Description

template<typename T, typename NUM, typename OTHER>
class mrpt::math::CMonteCarlo< T, NUM, OTHER >

Montecarlo simulation for experiments in 1D.

Template arguments are:

HOW TO USE THIS CLASS:

Definition at line 42 of file CMonteCarlo.h.

#include <mrpt/math/CMonteCarlo.h>

Classes

class  CStatisticalAnalyzer
 

Public Member Functions

 CMonteCarlo ()
 
NUM doExperiment (size_t N, double &time, bool showInWindow=false)
 

Public Attributes

T(* valueGenerator )(mrpt::random::CRandomGenerator &)
 
NUM(* errorFun1 )(const T &)
 
OTHER(* intermediateFun )(const T &)
 
NUM(* errorFun2 )(const T &, const OTHER &)
 

Private Attributes

mrpt::random::CRandomGenerator gen
 

Constructor & Destructor Documentation

◆ CMonteCarlo()

template<typename T , typename NUM , typename OTHER >
mrpt::math::CMonteCarlo< T, NUM, OTHER >::CMonteCarlo ( )
inline

Definition at line 96 of file CMonteCarlo.h.

Member Function Documentation

◆ doExperiment()

template<typename T , typename NUM , typename OTHER >
NUM mrpt::math::CMonteCarlo< T, NUM, OTHER >::doExperiment ( size_t  N,
double &  time,
bool  showInWindow = false 
)
inline

Member Data Documentation

◆ errorFun1

template<typename T , typename NUM , typename OTHER >
NUM(* mrpt::math::CMonteCarlo< T, NUM, OTHER >::errorFun1) (const T &)

◆ errorFun2

template<typename T , typename NUM , typename OTHER >
NUM(* mrpt::math::CMonteCarlo< T, NUM, OTHER >::errorFun2) (const T &, const OTHER &)

◆ gen

template<typename T , typename NUM , typename OTHER >
mrpt::random::CRandomGenerator mrpt::math::CMonteCarlo< T, NUM, OTHER >::gen
private

◆ intermediateFun

template<typename T , typename NUM , typename OTHER >
OTHER(* mrpt::math::CMonteCarlo< T, NUM, OTHER >::intermediateFun) (const T &)

◆ valueGenerator

template<typename T , typename NUM , typename OTHER >
T(* mrpt::math::CMonteCarlo< T, NUM, OTHER >::valueGenerator) (mrpt::random::CRandomGenerator &)



Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020