Main MRPT website > C++ reference for MRPT 1.5.7
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 37 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 74 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 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019