EvolvingObjects
|
The class normal_generator can be used in the STL generate function to easily generate gaussian distributed floats and doubles. More...
#include <eoRndGenerators.h>
Public Member Functions | |
eoNormalGenerator (T _stdev=T(1.0), eoRng &_rng=rng) | |
T | operator() (void) |
The pure virtual function that needs to be implemented by the subclass. | |
Private Attributes | |
T | stdev |
eoRng & | normal |
The class normal_generator can be used in the STL generate function to easily generate gaussian distributed floats and doubles.
The user can supply a standard deviation which defaults to 1.
Definition at line 131 of file eoRndGenerators.h.