1 #ifndef TRNG_RandomNumberDistribution_H
2 #define TRNG_RandomNumberDistribution_H
5 #include "CORE_Object.h"
8 #include "RAND_RandomNumberDistribution.h"
17 template<
typename T,
class I,
class D>
82 inline tReal
pdf(
const T& x)
const {
88 inline tReal
cdf(
const T& x)
const {
94 inline tReal
icdf(
const T& y)
const {
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
I & getDistribution()
get distribution
Definition: RAND_RandomNumberDistribution.h:124
This class generates a distribution of trng class I with result type T implemented in D class.
Definition: TRNG_RandomNumberDistribution.h:18
TRNG_RandomNumberDistribution(void)
create the class
Definition: TRNG_RandomNumberDistribution.h:36
tReal icdf(const T &y) const
return the inverse of the cumulative density function
Definition: TRNG_RandomNumberDistribution.h:94
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: TRNG_RandomNumberDistribution.h:74
tReal pdf(const T &x) const
return the probility density function
Definition: TRNG_RandomNumberDistribution.h:82
tReal cdf(const T &x) const
return the cumulative density function
Definition: TRNG_RandomNumberDistribution.h:88
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: TRNG_RandomNumberDistribution.h:62
virtual ~TRNG_RandomNumberDistribution(void)
destroy the class
Definition: TRNG_RandomNumberDistribution.h:43