]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/random/test/test_normal.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / random / test / test_normal.cpp
1 /* test_normal.cpp
2 *
3 * Copyright Steven Watanabe 2011
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 * $Id$
9 *
10 */
11
12 #include <boost/random/normal_distribution.hpp>
13 #include <boost/random/uniform_real.hpp>
14 #include <boost/math/distributions/normal.hpp>
15
16 #define BOOST_RANDOM_DISTRIBUTION boost::random::normal_distribution<>
17 #define BOOST_RANDOM_DISTRIBUTION_NAME normal
18 #define BOOST_MATH_DISTRIBUTION boost::math::normal
19 #define BOOST_RANDOM_ARG1_TYPE double
20 #define BOOST_RANDOM_ARG1_NAME m
21 #define BOOST_RANDOM_ARG1_DEFAULT 1000.0
22 #define BOOST_RANDOM_ARG1_DISTRIBUTION(n) boost::uniform_real<>(-n, n)
23 #define BOOST_RANDOM_ARG2_TYPE double
24 #define BOOST_RANDOM_ARG2_NAME s
25 #define BOOST_RANDOM_ARG2_DEFAULT 1000.0
26 #define BOOST_RANDOM_ARG2_DISTRIBUTION(n) boost::uniform_real<>(0.00001, n)
27
28 #include "test_real_distribution.ipp"