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

simth::UniformRng Class Reference

Random generator for uniform distributed variates. More...

#include <phrand.h>

Inheritance diagram for simth::UniformRng:

simth::RandomGeneratorGsl simth::RandomGenerator List of all members.

Public Member Functions

 UniformRng ()
virtual ~UniformRng ()
virtual double get () const
double get_inl () const

Detailed Description

Random generator for uniform distributed variates.

This function returns a double precision floating point number uniformly distributed in the range [0,1). The range includes 0.0 but excludes 1.0. Beside the virtual function get() the function get_inl() returns a random variate as well but is implemented as inline fucntion and hence faster.

The 'maximally equidistributed combined Tausworthe generator by L'Ecuyer' is used to generator the random output. (See GSL reference manual for further information).


Constructor & Destructor Documentation

simth::UniformRng::UniformRng  ) 
 

virtual simth::UniformRng::~UniformRng  )  [virtual]
 


Member Function Documentation

virtual double simth::UniformRng::get  )  const [virtual]
 

Returns a random variate with the described uniform distribution in the range of [0,1).

Implements simth::RandomGenerator.

double simth::UniformRng::get_inl  )  const [inline]
 

Non-virtual inline version of get().


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