Scythe-1.0.3
template<typename ENGINE >
scythe::wrapped_generator< ENGINE >::wrapped_generator ( ENGINE &  e) [inline]

Default constructor.

This constructor wraps the provided random uniform number generating function object, creating an object suitable for random number generation in Scythe. Note that the function object is passed by reference and is not copied on construction.

Parameters:
eA function object that returns uniform random numbers on (0,1) when invoked.
See also:
wrapped_generator(const wrapped_generator& wg)