1 #ifndef RNDB_NormalDistribution_H
2 #define RNDB_NormalDistribution_H
5 #include "RAND_RandomNumberDistribution.h"
8 #include <boost/random/normal_distribution.hpp>
34 boost::random::normal_distribution<T> dist;
55 inline static CORE_UniquePointer<RNDB_NormalDistribution>
New() {
101 boost::random::normal_distribution<T>::param_type p(mean,sigma);
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
This class generates a distribution implemented in class G with internal implementation class I with ...
Definition: RAND_RandomNumberDistribution.h:17
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: RAND_RandomNumberDistribution.h:88
void initialize(boost::random::normal_distribution< tReal > &dist)
initiliaze generator
Definition: RAND_RandomNumberDistribution.h:103
boost::random::normal_distribution< tReal > & getDistribution()
get distribution
Definition: RAND_RandomNumberDistribution.h:124
This class implements a normal law distribution.
Definition: RNDB_NormalDistribution.h:15
virtual ~RNDB_NormalDistribution(void)
destroy an object.
Definition: RNDB_NormalDistribution.h:45
void setProperties(const T &mean, const T &sigma)
set the statistical properties of the distribution
Definition: RNDB_NormalDistribution.h:100
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: RNDB_NormalDistribution.h:78
virtual tMemSize getContentsMemorySize() const
return the memory size of the included associations
Definition: RNDB_NormalDistribution.h:90
RNDB_NormalDistribution()
create an object
Definition: RNDB_NormalDistribution.h:33
static CORE_UniquePointer< RNDB_NormalDistribution > New()
build a new instance of the stochasticfunction
Definition: RNDB_NormalDistribution.h:55