#include <rand-normal.h>


Public Types | |
| typedef double | T_numtype |
| typedef T | T_numtype |
Public Member Functions | |
| Normal (double mean=0.0, double variance=1.0, double=0.0) | |
| void | randomize () |
| double | random () |
| Normal (T mean, T standardDeviation) | |
| T | random () |
Private Attributes | |
| double | mean_ |
| double | sigma_ |
| P_uniform | uniform_ |
| T | mean_ |
| T | standardDeviation_ |
| typedef double Normal< BZ_TEMPLATE_DEFAULT >::T_numtype |
Reimplemented from NormalUnit< T, IRNG, stateTag >.
Reimplemented from NormalUnit< T, IRNG, stateTag >.
| Normal< BZ_TEMPLATE_DEFAULT >::Normal | ( | double | mean = 0.0, |
|
| double | variance = 1.0, |
|||
| double | = 0.0 | |||
| ) | [inline] |
| void Normal< BZ_TEMPLATE_DEFAULT >::randomize | ( | ) | [inline] |
| double Normal< BZ_TEMPLATE_DEFAULT >::random | ( | void | ) | [inline] |
Reimplemented from NormalUnit< T, IRNG, stateTag >.
| T Normal< BZ_TEMPLATE_DEFAULT >::random | ( | void | ) | [inline] |
Reimplemented from NormalUnit< T, IRNG, stateTag >.
References Normal< BZ_TEMPLATE_DEFAULT >::mean_, NormalUnit< T, IRNG, stateTag >::random(), and Normal< BZ_TEMPLATE_DEFAULT >::standardDeviation_.
double Normal< BZ_TEMPLATE_DEFAULT >::mean_ [private] |
Referenced by Normal< BZ_TEMPLATE_DEFAULT >::Normal(), and Normal< BZ_TEMPLATE_DEFAULT >::random().
double Normal< BZ_TEMPLATE_DEFAULT >::sigma_ [private] |
P_uniform Normal< BZ_TEMPLATE_DEFAULT >::uniform_ [private] |
T Normal< BZ_TEMPLATE_DEFAULT >::standardDeviation_ [private] |
Referenced by Normal< BZ_TEMPLATE_DEFAULT >::Normal(), and Normal< BZ_TEMPLATE_DEFAULT >::random().
1.5.5