![]() |
Home | Libraries | License | Support | People | ALPS Web Site |
alps::buffered_uniform_01 — the abstract base class of a runtime-polymorphic buffered random number generator generating double values in the interval [0,1[
// In header: <alps/random/buffered_uniform_01.hpp> template<typename RealType = double> class buffered_uniform_01 : public alps::buffered_generator< RealType > { public: // types typedef RealType result_type; // the type of random numbers // construct/copy/destruct buffered_uniform_01(std::size_t = ALPS_BUFFERED_GENERATOR_BUFFER_SIZE); // public member functions result_type min() const; result_type max() const; };
This class template is an abstract base class template for runtime-polymorphic uniform random number generators producing numbers in the interval [0,1). It inherits from alps::buffered_generator and provides min()
and () functions returning 0. and 1. respectively,
Copyright © 2006-2008 Brigitte Surer, Matthias Troyer |