Main MRPT website > C++ reference for MRPT 1.5.9
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.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020