theplu::yat::random::Continuous Class Reference

Continuous random number distributions. More...

#include <yat/random/random.h>

Inheritance diagram for theplu::yat::random::Continuous:

theplu::yat::random::ContinuousGeneral theplu::yat::random::ContinuousUniform theplu::yat::random::Exponential theplu::yat::random::Gaussian

List of all members.

Public Member Functions

 Continuous (void)
 Constructor.
virtual ~Continuous (void)
 The destructor.
void seed (unsigned long s) const
 Set the seed to s.
unsigned long seed_from_devurandom (void)
 Set the seed using the /dev/urandom device.
virtual double operator() (void) const =0

Protected Attributes

RNGrng_
 pointer to GSL random generator


Detailed Description

Continuous random number distributions.

Abstract base class for continuous random number distributions.


Member Function Documentation

virtual double theplu::yat::random::Continuous::operator() ( void   )  const [pure virtual]

void theplu::yat::random::Continuous::seed ( unsigned long  s  )  const

Set the seed to s.

Set the seed to s in the underlying rng. If s is zero, a default value from the rng's original implementation is used (cf. GSL documentation).

See also:
seed_from_devurandom, RNG::seed_from_devurandom, RNG::seed

unsigned long theplu::yat::random::Continuous::seed_from_devurandom ( void   )  [inline]

Set the seed using the /dev/urandom device.

Returns:
The seed acquired from /dev/urandom.
See also:
seed, RNG::seed_from_devurandom, RNG::seed


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

Generated on Mon Nov 7 02:25:52 2011 for yat by  doxygen 1.5.9