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

An::UniformRand Struct Reference

#include <Random.h>

List of all members.


Detailed Description

Functor to be used with <algorithm>.


Public Member Functions

 UniformRand (double from=0.0, double to=1.0)
 Constructor. Params define the range of the uniform distribution.
double operator() () const
 Functor operator for use with, e.g., std::generate.

Public Attributes

double from
 lower bound of uniform distribution
double to
 upper bound of uniform distribution


The documentation for this struct was generated from the following file:
Generated on Mon Oct 24 17:30:34 2005 for liban by  doxygen 1.4.2