Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

generators::RVG Class Reference

Outline of a Random Vector Generator, which generates d-dimensional points in $[0,1]^d$. More...

#include <generators.h>

Inheritance diagram for generators::RVG:

generators::DISCREP generators::RVG_RNG< RNG_TYPE > List of all members.

Public Member Functions

 RVG (unsigned int dim)
 Base constructor.
virtual ~RVG ()
 Base deconstructor.
virtual void nextVector (double *x)=0
 Produces the next d-dimensional vector.
virtual void setSeed (unsigned int seed)=0
 Sets a new seed.

Protected Attributes

unsigned int _dim
 The number of dimensions we are generating points in.

Detailed Description

Outline of a Random Vector Generator, which generates d-dimensional points in $[0,1]^d$.


Constructor & Destructor Documentation

generators::RVG::RVG unsigned int  dim  ) 
 

Base constructor.

Parameters:
dim The number of dimensions we will be generating points in.


Member Function Documentation

virtual void generators::RVG::nextVector double *  x  )  [pure virtual]
 

Produces the next d-dimensional vector.

Parameters:
x The array in which the newly generated vector is stored.

Implemented in generators::DISCREP, and generators::RVG_RNG< RNG_TYPE >.

virtual void generators::RVG::setSeed unsigned int  seed  )  [pure virtual]
 

Sets a new seed.

Implemented in generators::RVG_RNG< RNG_TYPE >.


The documentation for this class was generated from the following files:
Generated on Fri Sep 4 18:03:46 2009 for LabSci RNG/MC generators by  doxygen 1.3.9.1