ODT
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
randomGenerator Class Reference

#include <randomGenerator.h>

Public Member Functions

double getRand ()
 
int getRandInt (unsigned n)
 
 randomGenerator (const int aseed)
 
 randomGenerator ()
 

Private Attributes

MTRand mtwist
 Mersenne twister object.
 

Detailed Description

Definition at line 21 of file randomGenerator.h.

Constructor & Destructor Documentation

◆ randomGenerator() [1/2]

randomGenerator::randomGenerator ( const int aseed)
inline

Definition at line 36 of file randomGenerator.h.

◆ randomGenerator() [2/2]

randomGenerator::randomGenerator ( )
inline

Definition at line 41 of file randomGenerator.h.

Member Function Documentation

◆ getRand()

double randomGenerator::getRand ( )
inline

Definition at line 29 of file randomGenerator.h.

◆ getRandInt()

int randomGenerator::getRandInt ( unsigned n)
inline

Definition at line 32 of file randomGenerator.h.

Member Data Documentation

◆ mtwist

MTRand randomGenerator::mtwist
private

Mersenne twister object.

Definition at line 25 of file randomGenerator.h.


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