Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

GltRandomDouble< R > Class Template Reference
[GLT Math]

Adaptor for random double precision floating point numbers. More...

#include <random.h>

Collaboration diagram for GltRandomDouble< R >:

Collaboration graph
[legend]
List of all members.

Public Methods

 GltRandomDouble (R &random, const double min=0.0, const double max=1.0)
 Constructor.

 GltRandomDouble (const double min=0.0, const double max=1.0)
 Constructor using default RNG.

 GltRandomDouble (const GltRandomDouble< R > &gen)
 Copy constructor.

 ~GltRandomDouble ()
 Destructor.

double rand () const
 Random number in the range [min,max].

R & base ()
 Base random number generator.

const R & base () const
 Base random number generator.


Detailed Description

template<class R = GltRandomLFSRMix>
class GltRandomDouble< R >

Adaptor for random double precision floating point numbers.

Todo:
Is this the most efficient way?

Definition at line 146 of file random.h.


The documentation for this class was generated from the following file:
Generated on Tue Nov 5 11:11:45 2002 for GLT by doxygen1.2.18