#include <EigenMultiVariateNormal.hpp>
Public Member Functions | |
void | nextSample (_Scalar &sample) |
void | setMean (const _Scalar &mean) |
void | setVar (const _Scalar &var) |
UnivariateNormal (const _Scalar &mean, const _Scalar &var) | |
Private Attributes | |
_Scalar | mean_ |
boost::normal_distribution < _Scalar > | norm |
boost::variate_generator < boost::mt19937 &, boost::normal_distribution < _Scalar > > | randN |
boost::mt19937 | rng |
_Scalar | stdev_ |
Get a a sample from a univariant gaussian distribution
Definition at line 74 of file EigenMultiVariateNormal.hpp.
UnivariateNormal< _Scalar >::UnivariateNormal | ( | const _Scalar & | mean, |
const _Scalar & | var | ||
) | [inline] |
Definition at line 86 of file EigenMultiVariateNormal.hpp.
void UnivariateNormal< _Scalar >::nextSample | ( | _Scalar & | sample | ) | [inline] |
Definition at line 103 of file EigenMultiVariateNormal.hpp.
void UnivariateNormal< _Scalar >::setMean | ( | const _Scalar & | mean | ) | [inline] |
Definition at line 98 of file EigenMultiVariateNormal.hpp.
void UnivariateNormal< _Scalar >::setVar | ( | const _Scalar & | var | ) | [inline] |
Definition at line 93 of file EigenMultiVariateNormal.hpp.
_Scalar UnivariateNormal< _Scalar >::mean_ [private] |
Definition at line 81 of file EigenMultiVariateNormal.hpp.
boost::normal_distribution<_Scalar> UnivariateNormal< _Scalar >::norm [private] |
Definition at line 77 of file EigenMultiVariateNormal.hpp.
boost::variate_generator<boost::mt19937&,boost::normal_distribution<_Scalar> > UnivariateNormal< _Scalar >::randN [private] |
Definition at line 79 of file EigenMultiVariateNormal.hpp.
boost::mt19937 UnivariateNormal< _Scalar >::rng [private] |
Definition at line 76 of file EigenMultiVariateNormal.hpp.
_Scalar UnivariateNormal< _Scalar >::stdev_ [private] |
Definition at line 82 of file EigenMultiVariateNormal.hpp.