eoNormalGenerator< T > Class Template Reference

The class normal_generator can be used in the STL generate function to easily generate gaussian distributed floats and doubles. More...

#include <eoRndGenerators.h>

Inheritance diagram for eoNormalGenerator< T >:

eoRndGenerator< T > eoF< T > eoFunctorBase

List of all members.

Public Member Functions

 eoNormalGenerator (T _stdev=T(1.0), eoRng &_rng=rng)
operator() (void)
 The pure virtual function that needs to be implemented by the subclass.

Private Attributes

stdev
eoRngnormal


Detailed Description

template<class T = double>
class eoNormalGenerator< T >

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 120 of file eoRndGenerators.h.


The documentation for this class was generated from the following file:

Generated on Thu Jan 1 23:19:48 2009 for EvolvingObjects by  doxygen 1.5.5