• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* test_student_t_distribution.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/student_t_distribution.hpp>
13 #include <limits>
14 
15 #define BOOST_RANDOM_DISTRIBUTION boost::random::student_t_distribution<>
16 #define BOOST_RANDOM_ARG1 n
17 #define BOOST_RANDOM_ARG1_DEFAULT 1.0
18 #define BOOST_RANDOM_ARG1_VALUE 7.5
19 
20 #define BOOST_RANDOM_DIST0_MIN -(std::numeric_limits<double>::infinity)()
21 #define BOOST_RANDOM_DIST0_MAX (std::numeric_limits<double>::infinity)()
22 #define BOOST_RANDOM_DIST1_MIN -(std::numeric_limits<double>::infinity)()
23 #define BOOST_RANDOM_DIST1_MAX (std::numeric_limits<double>::infinity)()
24 
25 #define BOOST_RANDOM_TEST1_PARAMS
26 
27 #define BOOST_RANDOM_TEST2_PARAMS (100.0)
28 
29 #include "test_distribution.ipp"
30