Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

simth::RandomGeneratorGsl Class Reference

#include <phrand.h>

Inheritance diagram for simth::RandomGeneratorGsl:

simth::RandomGenerator simth::DiscreteUniformRng simth::ExponentialMaxLimitRng simth::GaussRng simth::JakesRng simth::RayleighRng simth::UniformRng List of all members.

Public Member Functions

 RandomGeneratorGsl (const gsl_rng_type &generatorAlgorithm=*gsl_rng_taus)
virtual ~RandomGeneratorGsl ()

Protected Member Functions

const gsl_rng * rng () const

Detailed Description

Abstract base class of random generators using the Gnu Scientific Library (GSL) to implement a certain random generator.

Any of these are seeded by subsequent calls of the system's random number generator rand(), which in turn can be seeded by the user through srand().


Constructor & Destructor Documentation

simth::RandomGeneratorGsl::RandomGeneratorGsl const gsl_rng_type &  generatorAlgorithm = *gsl_rng_taus  ) 
 

Constructor that takes as argument the type of the used algortihm to generate the random variables. Default argument is gsl_rng_taus that produces a 'maximally equidistributed combined Tausworthe generator by L'Ecuyer'. (See GSL reference manual for further information).

virtual simth::RandomGeneratorGsl::~RandomGeneratorGsl  )  [virtual]
 

Destructor.


Member Function Documentation

const gsl_rng* simth::RandomGeneratorGsl::rng  )  const [inline, protected]
 

Returns a handle to the gsl (gnu scientific library) random generator.


Generated on Mon Apr 24 21:19:20 2006 for simthetic by  doxygen 1.4.1