]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/include/boost/random.hpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
be053b9a4f44f790b68d4a0b7e3ba916d14ef996
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / random.hpp
1 /* boost random.hpp header file\r
2  *\r
3  * Copyright Jens Maurer 2000-2001\r
4  * Distributed under the Boost Software License, Version 1.0. (See\r
5  * accompanying file LICENSE_1_0.txt or copy at\r
6  * http://www.boost.org/LICENSE_1_0.txt)\r
7  *\r
8  * See http://www.boost.org/libs/random for documentation.\r
9  *\r
10  * $Id: random.hpp 58649 2010-01-02 21:23:17Z steven_watanabe $\r
11  *\r
12  * Revision history\r
13  *  2000-02-18  portability fixes (thanks to Beman Dawes)\r
14  *  2000-02-21  shuffle_output, inversive_congruential_schrage,\r
15  *              generator_iterator, uniform_smallint\r
16  *  2000-02-23  generic modulus arithmetic helper, removed *_schrage classes,\r
17  *              implemented Streamable and EqualityComparable concepts for \r
18  *              generators, added Bernoulli distribution and Box-Muller\r
19  *              transform\r
20  *  2000-03-01  cauchy, lognormal, triangle distributions; fixed \r
21  *              uniform_smallint; renamed gaussian to normal distribution\r
22  *  2000-03-05  implemented iterator syntax for distribution functions\r
23  *  2000-04-21  removed some optimizations for better BCC/MSVC compatibility\r
24  *  2000-05-10  adapted to BCC and MSVC\r
25  *  2000-06-13  incorporated review results\r
26  *  2000-07-06  moved basic templates from namespace detail to random\r
27  *  2000-09-23  warning removals and int64 fixes (Ed Brey)\r
28  *  2000-09-24  added lagged_fibonacci generator (Matthias Troyer)\r
29  *  2001-02-18  moved to individual header files\r
30  */\r
31 \r
32 #ifndef BOOST_RANDOM_HPP\r
33 #define BOOST_RANDOM_HPP\r
34 \r
35 // generators\r
36 #include <boost/random/linear_congruential.hpp>\r
37 #include <boost/random/additive_combine.hpp>\r
38 #include <boost/random/inversive_congruential.hpp>\r
39 #include <boost/random/shuffle_output.hpp>\r
40 #include <boost/random/mersenne_twister.hpp>\r
41 #include <boost/random/lagged_fibonacci.hpp>\r
42 #include <boost/random/ranlux.hpp>\r
43 #include <boost/random/linear_feedback_shift.hpp>\r
44 #include <boost/random/xor_combine.hpp>\r
45 #include <boost/random/discard_block.hpp>\r
46 #include <boost/random/subtract_with_carry.hpp>\r
47 #include <boost/random/variate_generator.hpp>\r
48 \r
49 namespace boost {\r
50   typedef random::xor_combine<random::xor_combine<random::linear_feedback_shift<uint32_t, 32, 31, 13, 12, 0>, 0,\r
51     random::linear_feedback_shift<uint32_t, 32, 29, 2, 4, 0>, 0, 0>, 0,\r
52                       random::linear_feedback_shift<uint32_t, 32, 28, 3, 17, 0>, 0, 0> taus88;\r
53 } // namespace  boost\r
54 \r
55 // misc\r
56 #include <boost/random/random_number_generator.hpp>\r
57 \r
58 // distributions\r
59 #include <boost/random/uniform_smallint.hpp>\r
60 #include <boost/random/uniform_int.hpp>\r
61 #include <boost/random/uniform_01.hpp>\r
62 #include <boost/random/uniform_real.hpp>\r
63 #include <boost/random/triangle_distribution.hpp>\r
64 #include <boost/random/bernoulli_distribution.hpp>\r
65 #include <boost/random/cauchy_distribution.hpp>\r
66 #include <boost/random/exponential_distribution.hpp>\r
67 #include <boost/random/geometric_distribution.hpp>\r
68 #include <boost/random/normal_distribution.hpp>\r
69 #include <boost/random/lognormal_distribution.hpp>\r
70 #include <boost/random/poisson_distribution.hpp>\r
71 #include <boost/random/gamma_distribution.hpp>\r
72 #include <boost/random/binomial_distribution.hpp>\r
73 #include <boost/random/uniform_on_sphere.hpp>\r
74 \r
75 #endif // BOOST_RANDOM_HPP\r