1 #ifndef RNDSTD_NormalDistribution_H
2 #define RNDSTD_NormalDistribution_H
5 #include "RAND_RandomNumberDistribution.h"
35 std::normal_distribution<T> dist;
57 inline static CORE_UniquePointer<RNDSTD_NormalDistribution>
New() {
111 std::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(std::normal_distribution< tReal > &dist)
initiliaze generator
Definition: RAND_RandomNumberDistribution.h:103
std::normal_distribution< tReal > & getDistribution()
get distribution
Definition: RAND_RandomNumberDistribution.h:124
This class implements a stochastic function with a real uniform law implemented from the boost librar...
Definition: RNDSTD_NormalDistribution.h:16
virtual tMemSize getContentsMemorySize() const
return the memory size of the included associations
Definition: RNDSTD_NormalDistribution.h:90
void setProperties(const T &mean, const T &sigma)
set the statistical properties of the distribution
Definition: RNDSTD_NormalDistribution.h:110
virtual ~RNDSTD_NormalDistribution(void)
destroy an object.
Definition: RNDSTD_NormalDistribution.h:46
RNDSTD_NormalDistribution()
create an object
Definition: RNDSTD_NormalDistribution.h:34
static CORE_UniquePointer< RNDSTD_NormalDistribution > New()
build a new instance of the stochasticfunction
Definition: RNDSTD_NormalDistribution.h:57
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: RNDSTD_NormalDistribution.h:78