Montecarlo simulation for experiments in 1D.
Template arguments are:
HOW TO USE THIS CLASS:
#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 |
| mrpt::math::CMonteCarlo::CMonteCarlo | ( | ) | [inline] |
Definition at line 95 of file CMonteCarlo.h.
| NUM mrpt::math::CMonteCarlo::doExperiment | ( | size_t | N, |
| double & | time, | ||
| bool | showInWindow = false |
||
| ) | [inline] |
Definition at line 96 of file CMonteCarlo.h.
References valueGenerator, gen, errorFun1, mrpt::utils::CTicTac::Tic(), mrpt::utils::CTicTac::Tac(), intermediateFun, and errorFun2.
| NUM(* mrpt::math::CMonteCarlo::errorFun1)(const T &) |
Definition at line 91 of file CMonteCarlo.h.
Referenced by doExperiment().
| NUM(* mrpt::math::CMonteCarlo::errorFun2)(const T &, const OTHER &) |
Definition at line 94 of file CMonteCarlo.h.
Referenced by doExperiment().
Definition at line 60 of file CMonteCarlo.h.
Referenced by doExperiment().
| OTHER(* mrpt::math::CMonteCarlo::intermediateFun)(const T &) |
Definition at line 93 of file CMonteCarlo.h.
Referenced by doExperiment().
Definition at line 89 of file CMonteCarlo.h.
Referenced by doExperiment().
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011 |