Public Member Functions | Private Attributes | List of all members
GaussianRV1D< Engine > Class Template Reference

#include <random_utils.h>

Inheritance diagram for GaussianRV1D< Engine >:
Inheritance graph
[legend]

Public Member Functions

std::unique_ptr< RandomVariable1D< Engine > > clone () const override
 
 GaussianRV1D (double mean, double stddev)
 
double sample (Engine &rnd_engine) override
 
- Public Member Functions inherited from RandomVariable1D< Engine >
virtual ~RandomVariable1D ()
 

Private Attributes

std::normal_distribution _distr
 
double _mean
 
double _stddev
 

Detailed Description

template<typename Engine>
class GaussianRV1D< Engine >

Definition at line 17 of file random_utils.h.

Constructor & Destructor Documentation

template<typename Engine >
GaussianRV1D< Engine >::GaussianRV1D ( double  mean,
double  stddev 
)
inline

Definition at line 19 of file random_utils.h.

Member Function Documentation

template<typename Engine >
std::unique_ptr<RandomVariable1D<Engine> > GaussianRV1D< Engine >::clone ( ) const
inlineoverridevirtual

Implements RandomVariable1D< Engine >.

Definition at line 26 of file random_utils.h.

template<typename Engine >
double GaussianRV1D< Engine >::sample ( Engine &  rnd_engine)
inlineoverridevirtual

Implements RandomVariable1D< Engine >.

Definition at line 22 of file random_utils.h.

Member Data Documentation

template<typename Engine >
std::normal_distribution GaussianRV1D< Engine >::_distr
private

Definition at line 33 of file random_utils.h.

template<typename Engine >
double GaussianRV1D< Engine >::_mean
private

Definition at line 31 of file random_utils.h.

template<typename Engine >
double GaussianRV1D< Engine >::_stddev
private

Definition at line 32 of file random_utils.h.


The documentation for this class was generated from the following file:


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:26