CluE
1.0
|
Univariate normal distribution. More...
#include <unigauss.h>
Public Member Functions | |
UniGauss (double m, double v) | |
virtual double | density (double const &x) const |
Evaluates the density of the univariate normal distribution at the given point x. More... | |
template<typename RndEngine > | |
double | draw (RndEngine &) const |
![]() | |
virtual | ~Distribution () |
Private Attributes | |
double | mean |
double | variance |
Univariate normal distribution.
Definition at line 20 of file unigauss.h.
UniGauss::UniGauss | ( | double | m, |
double | v | ||
) |
Definition at line 7 of file unigauss.cpp.
|
virtual |
Evaluates the density of the univariate normal distribution at the given point x.
Implements CluE::Distribution< double >.
Definition at line 13 of file unigauss.cpp.
double CluE::UniGauss::draw | ( | RndEngine & | re | ) | const |
Definition at line 38 of file unigauss.h.
|
private |
Definition at line 34 of file unigauss.h.
|
private |
Definition at line 34 of file unigauss.h.