vg
tools for working with variation graphs
Public Types | Public Member Functions | Protected Attributes | List of all members
vg::normal_distribution< T > Class Template Reference

#include <statistics.hpp>

Public Types

typedef T result_type
 

Public Member Functions

 normal_distribution (T _mean=0.0, T _stddev=1.0)
 
void reset ()
 
template<class Generator >
operator() (Generator &_g)
 
mean () const
 
stddev () const
 

Protected Attributes

m_mean
 
m_stddev
 
vg::uniform_real_distribution< T > m_distU1
 

Member Typedef Documentation

◆ result_type

template<typename T = double>
typedef T vg::normal_distribution< T >::result_type

Constructor & Destructor Documentation

◆ normal_distribution()

template<typename T = double>
vg::normal_distribution< T >::normal_distribution ( _mean = 0.0,
_stddev = 1.0 
)
inline

Member Function Documentation

◆ mean()

template<typename T = double>
T vg::normal_distribution< T >::mean ( ) const
inline

◆ operator()()

template<typename T = double>
template<class Generator >
T vg::normal_distribution< T >::operator() ( Generator &  _g)
inline

◆ reset()

template<typename T = double>
void vg::normal_distribution< T >::reset ( )
inline

◆ stddev()

template<typename T = double>
T vg::normal_distribution< T >::stddev ( ) const
inline

Member Data Documentation

◆ m_distU1

template<typename T = double>
vg::uniform_real_distribution<T> vg::normal_distribution< T >::m_distU1
protected

◆ m_mean

template<typename T = double>
T vg::normal_distribution< T >::m_mean
protected

◆ m_stddev

template<typename T = double>
T vg::normal_distribution< T >::m_stddev
protected

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