random.hpp 3.8 KB

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