Enki::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 Sun Mar 1 03:10:09 2009 for Enki by  doxygen 1.5.1