![]() |
Home | Libraries | People | FAQ | More |
You should read the concepts documentation for an introduction and the definition of the basic concepts. For a quick start, it may be sufficient to have a look at random_demo.cpp.
boost/random/
directory. Additionally, a convenience
header file which includes all other headers in
boost/random/
is available as
boost/random.hpp
.
Several random number generators are available in the following header files; please read the documentation about these.
boost/random/linear_congruential.hpp
boost/random/additive_combine.hpp
boost/random/inversive_congruential.hpp
boost/random/shuffle_output.hpp
boost/random/mersenne_twister.hpp
boost/random/lagged_fibonacci.hpp
boost/random/uniform_smallint.hpp
boost/random/uniform_int.hpp
boost/random/uniform_01.hpp
boost/random/uniform_real.hpp
boost/random/triangle_distribution.hpp
boost/random/bernoulli_distribution.hpp
boost/random/cauchy_distribution.hpp
boost/random/exponential_distribution.hpp
boost/random/geometric_distribution.hpp
boost/random/normal_distribution.hpp
boost/random/lognormal_distribution.hpp
boost/random/uniform_on_sphere.hpp
<boost/nondet_random.hpp>
.
Documentation is also available.
Some performance results obtained using random_speed.cpp are also available.
enum
workaround. Dave
Abrahams highlighted quantization issues.
The first public release of this random number library materialized in
March 2000 after extensive discussions on the boost mailing list.
Many thanks to Beman Dawes for his original min_rand
class, portability fixes, documentation suggestions, and general
guidance. Harry Erwin sent a header file which provided additional
insight into the requirements. Ed Brey and Beman Dawes wanted an
iterator-like interface.
Beman Dawes managed the formal review, during which Matthias Troyer, Csaba Szepesvari, and Thomas Holenstein gave detailed comments. The reviewed version became an official part of boost on 17 June 2000.
Gary Powell contributed suggestions for code cleanliness. Dave
Abrahams and Howard Hinnant suggested to move the basic generator
templates from namespace boost::detail
to
boost::random
.
Ed Brey asked to remove superfluous warnings and helped with
uint64_t
handling. Andreas Scherer tested with MSVC.
Matthias Troyer contributed a lagged Fibonacci generator.