UniformRandomBase Class Reference
[Functor: UniformRandom]

The base class manages the subtractive random number generator. More...

#include <UniformRandom.h>

Inheritance diagram for UniformRandomBase:
UniformRandomInteger< T > UniformRandomReal< T >

List of all members.

Public Member Functions

void initialize (const unsigned int n)
 Initialize (seed) the random number generator.

Protected Member Functions

 UniformRandomBase ()
 Default constructor.
 UniformRandomBase (const unsigned int n)
 Construct and initialize with the given seed.
 UniformRandomBase (const UniformRandomBase &x)
 Copy constructor.
UniformRandomBaseoperator= (const UniformRandomBase &other)
 Assignment operator.
 ~UniformRandomBase ()
 Destructor.
unsigned int random (const unsigned int n) const
 Return a pseudo-random integer in [0 .. n).

Detailed Description

The base class manages the subtractive random number generator.


The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:52 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3