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