MRPT  2.0.0
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.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020