Gaussian probability distribution. More...
#include <Distribution.h>


Public Member Functions | |
| NormalDistribution () | |
| NormalDistribution (real mean, real std) | |
| Normal dist. with given mean and std. More... | |
| virtual | ~NormalDistribution () |
| virtual real | generate () |
| virtual real | pdf (real x) |
| virtual void | setVariance (real var) |
| virtual void | setMean (real mean) |
Public Member Functions inherited from ParametricDistribution | |
| ParametricDistribution () | |
| virtual | ~ParametricDistribution () |
Public Member Functions inherited from Distribution | |
| Distribution () | |
| virtual | ~Distribution () |
Public Attributes | |
| real | m |
| mean More... | |
| real | s |
| standard deviation More... | |
Private Attributes | |
| bool | cache |
| real | normal_x |
| real | normal_y |
| real | normal_rho |
Gaussian probability distribution.
Definition at line 57 of file Distribution.h.
|
inline |
Definition at line 64 of file Distribution.h.
Normal dist. with given mean and std.
Definition at line 66 of file Distribution.h.

|
inlinevirtual |
Definition at line 71 of file Distribution.h.
|
virtual |
Implements Distribution.
Definition at line 54 of file Distribution.cpp.

Implements Distribution.
Definition at line 72 of file Distribution.cpp.
|
inlinevirtual |
Implements ParametricDistribution.
Definition at line 76 of file Distribution.h.
|
inlinevirtual |
Implements ParametricDistribution.
Definition at line 74 of file Distribution.h.
|
private |
Definition at line 59 of file Distribution.h.
| real NormalDistribution::m |
mean
Definition at line 62 of file Distribution.h.
|
private |
Definition at line 60 of file Distribution.h.
|
private |
Definition at line 60 of file Distribution.h.
|
private |
Definition at line 60 of file Distribution.h.
| real NormalDistribution::s |
standard deviation
Definition at line 63 of file Distribution.h.