Enki  1.9
Public Member Functions | Public Attributes | List of all members
Enki::UniformRand Struct Reference

Functor to be used with <algorithm> More...

#include <Random.h>

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
 

Detailed Description

Functor to be used with <algorithm>


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