#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_ |
Reimplemented from NormalUnit< T, IRNG, stateTag >.
Reimplemented from NormalUnit< T, IRNG, stateTag >.
Normal< P_uniform >::Normal | ( | double | mean = 0.0 , |
|
double | variance = 1.0 , |
|||
double | = 0.0 | |||
) | [inline] |
References Normal< P_uniform >::mean_, and Normal< P_uniform >::standardDeviation_.
T Normal< P_uniform >::random | ( | void | ) | [inline] |
Reimplemented from NormalUnit< T, IRNG, stateTag >.
References Normal< P_uniform >::mean_, Normal< P_uniform >::random(), and Normal< P_uniform >::standardDeviation_.
double Normal< P_uniform >::random | ( | void | ) | [inline] |
Reimplemented from NormalUnit< T, IRNG, stateTag >.
Referenced by Normal< P_uniform >::random().
void Normal< P_uniform >::randomize | ( | ) | [inline] |
Referenced by Normal< P_uniform >::Normal(), and Normal< P_uniform >::random().
T Normal< P_uniform >::standardDeviation_ [private] |
Referenced by Normal< P_uniform >::Normal(), and Normal< P_uniform >::random().