| 1 |
// fwd.hpp Forward declarations of Boost.Math distributions. |
| 2 |
|
| 3 |
// Copyright Paul A. Bristow 2007, 2010, 2012, 2014. |
| 4 |
// Copyright John Maddock 2007. |
| 5 |
|
| 6 |
// Use, modification and distribution are subject to the |
| 7 |
// Boost Software License, Version 1.0. |
| 8 |
// (See accompanying file LICENSE_1_0.txt |
| 9 |
// or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 10 |
|
| 11 |
#ifndef BOOST_MATH_DISTRIBUTIONS_FWD_HPP |
| 12 |
#define BOOST_MATH_DISTRIBUTIONS_FWD_HPP |
| 13 |
|
| 14 |
namespace boost{ namespace math{ |
| 15 |
|
| 16 |
template <class RealType, class Policy> |
| 17 |
class arcsine_distribution; |
| 18 |
|
| 19 |
template <class RealType, class Policy> |
| 20 |
class bernoulli_distribution; |
| 21 |
|
| 22 |
template <class RealType, class Policy> |
| 23 |
class beta_distribution; |
| 24 |
|
| 25 |
template <class RealType, class Policy> |
| 26 |
class binomial_distribution; |
| 27 |
|
| 28 |
template <class RealType, class Policy> |
| 29 |
class cauchy_distribution; |
| 30 |
|
| 31 |
template <class RealType, class Policy> |
| 32 |
class chi_squared_distribution; |
| 33 |
|
| 34 |
template <class RealType, class Policy> |
| 35 |
class exponential_distribution; |
| 36 |
|
| 37 |
template <class RealType, class Policy> |
| 38 |
class extreme_value_distribution; |
| 39 |
|
| 40 |
template <class RealType, class Policy> |
| 41 |
class fisher_f_distribution; |
| 42 |
|
| 43 |
template <class RealType, class Policy> |
| 44 |
class gamma_distribution; |
| 45 |
|
| 46 |
template <class RealType, class Policy> |
| 47 |
class geometric_distribution; |
| 48 |
|
| 49 |
template <class RealType, class Policy> |
| 50 |
class hyperexponential_distribution; |
| 51 |
|
| 52 |
template <class RealType, class Policy> |
| 53 |
class hypergeometric_distribution; |
| 54 |
|
| 55 |
template <class RealType, class Policy> |
| 56 |
class inverse_chi_squared_distribution; |
| 57 |
|
| 58 |
template <class RealType, class Policy> |
| 59 |
class inverse_gamma_distribution; |
| 60 |
|
| 61 |
template <class RealType, class Policy> |
| 62 |
class inverse_gaussian_distribution; |
| 63 |
|
| 64 |
template <class RealType, class Policy> |
| 65 |
class kolmogorov_smirnov_distribution; |
| 66 |
|
| 67 |
template <class RealType, class Policy> |
| 68 |
class landau_distribution; |
| 69 |
|
| 70 |
template <class RealType, class Policy> |
| 71 |
class mapairy_distribution; |
| 72 |
|
| 73 |
template <class RealType, class Policy> |
| 74 |
class holtsmark_distribution; |
| 75 |
|
| 76 |
template <class RealType, class Policy> |
| 77 |
class saspoint5_distribution; |
| 78 |
|
| 79 |
template <class RealType, class Policy> |
| 80 |
class laplace_distribution; |
| 81 |
|
| 82 |
template <class RealType, class Policy> |
| 83 |
class logistic_distribution; |
| 84 |
|
| 85 |
template <class RealType, class Policy> |
| 86 |
class lognormal_distribution; |
| 87 |
|
| 88 |
template <class RealType, class Policy> |
| 89 |
class negative_binomial_distribution; |
| 90 |
|
| 91 |
template <class RealType, class Policy> |
| 92 |
class non_central_beta_distribution; |
| 93 |
|
| 94 |
template <class RealType, class Policy> |
| 95 |
class non_central_chi_squared_distribution; |
| 96 |
|
| 97 |
template <class RealType, class Policy> |
| 98 |
class non_central_f_distribution; |
| 99 |
|
| 100 |
template <class RealType, class Policy> |
| 101 |
class non_central_t_distribution; |
| 102 |
|
| 103 |
template <class RealType, class Policy> |
| 104 |
class normal_distribution; |
| 105 |
|
| 106 |
template <class RealType, class Policy> |
| 107 |
class pareto_distribution; |
| 108 |
|
| 109 |
template <class RealType, class Policy> |
| 110 |
class poisson_distribution; |
| 111 |
|
| 112 |
template <class RealType, class Policy> |
| 113 |
class rayleigh_distribution; |
| 114 |
|
| 115 |
template <class RealType, class Policy> |
| 116 |
class skew_normal_distribution; |
| 117 |
|
| 118 |
template <class RealType, class Policy> |
| 119 |
class students_t_distribution; |
| 120 |
|
| 121 |
template <class RealType, class Policy> |
| 122 |
class triangular_distribution; |
| 123 |
|
| 124 |
template <class RealType, class Policy> |
| 125 |
class uniform_distribution; |
| 126 |
|
| 127 |
template <class RealType, class Policy> |
| 128 |
class weibull_distribution; |
| 129 |
|
| 130 |
}} // namespaces |
| 131 |
|
| 132 |
#define BOOST_MATH_DECLARE_DISTRIBUTIONS(Type, Policy)\ |
| 133 |
typedef boost::math::arcsine_distribution<Type, Policy> arcsine;\ |
| 134 |
typedef boost::math::bernoulli_distribution<Type, Policy> bernoulli;\ |
| 135 |
typedef boost::math::beta_distribution<Type, Policy> beta;\ |
| 136 |
typedef boost::math::binomial_distribution<Type, Policy> binomial;\ |
| 137 |
typedef boost::math::cauchy_distribution<Type, Policy> cauchy;\ |
| 138 |
typedef boost::math::chi_squared_distribution<Type, Policy> chi_squared;\ |
| 139 |
typedef boost::math::exponential_distribution<Type, Policy> exponential;\ |
| 140 |
typedef boost::math::extreme_value_distribution<Type, Policy> extreme_value;\ |
| 141 |
typedef boost::math::fisher_f_distribution<Type, Policy> fisher_f;\ |
| 142 |
typedef boost::math::gamma_distribution<Type, Policy> gamma;\ |
| 143 |
typedef boost::math::geometric_distribution<Type, Policy> geometric;\ |
| 144 |
typedef boost::math::hypergeometric_distribution<Type, Policy> hypergeometric;\ |
| 145 |
typedef boost::math::kolmogorov_smirnov_distribution<Type, Policy> kolmogorov_smirnov;\ |
| 146 |
typedef boost::math::inverse_chi_squared_distribution<Type, Policy> inverse_chi_squared;\ |
| 147 |
typedef boost::math::inverse_gaussian_distribution<Type, Policy> inverse_gaussian;\ |
| 148 |
typedef boost::math::inverse_gamma_distribution<Type, Policy> inverse_gamma;\ |
| 149 |
typedef boost::math::landau_distribution<Type, Policy> landau;\ |
| 150 |
typedef boost::math::mapairy_distribution<Type, Policy> mapairy;\ |
| 151 |
typedef boost::math::holtsmark_distribution<Type, Policy> holtsmark;\ |
| 152 |
typedef boost::math::saspoint5_distribution<Type, Policy> saspoint5;\ |
| 153 |
typedef boost::math::laplace_distribution<Type, Policy> laplace;\ |
| 154 |
typedef boost::math::logistic_distribution<Type, Policy> logistic;\ |
| 155 |
typedef boost::math::lognormal_distribution<Type, Policy> lognormal;\ |
| 156 |
typedef boost::math::negative_binomial_distribution<Type, Policy> negative_binomial;\ |
| 157 |
typedef boost::math::non_central_beta_distribution<Type, Policy> non_central_beta;\ |
| 158 |
typedef boost::math::non_central_chi_squared_distribution<Type, Policy> non_central_chi_squared;\ |
| 159 |
typedef boost::math::non_central_f_distribution<Type, Policy> non_central_f;\ |
| 160 |
typedef boost::math::non_central_t_distribution<Type, Policy> non_central_t;\ |
| 161 |
typedef boost::math::normal_distribution<Type, Policy> normal;\ |
| 162 |
typedef boost::math::pareto_distribution<Type, Policy> pareto;\ |
| 163 |
typedef boost::math::poisson_distribution<Type, Policy> poisson;\ |
| 164 |
typedef boost::math::rayleigh_distribution<Type, Policy> rayleigh;\ |
| 165 |
typedef boost::math::skew_normal_distribution<Type, Policy> skew_normal;\ |
| 166 |
typedef boost::math::students_t_distribution<Type, Policy> students_t;\ |
| 167 |
typedef boost::math::triangular_distribution<Type, Policy> triangular;\ |
| 168 |
typedef boost::math::uniform_distribution<Type, Policy> uniform;\ |
| 169 |
typedef boost::math::weibull_distribution<Type, Policy> weibull; |
| 170 |
|
| 171 |
#endif // BOOST_MATH_DISTRIBUTIONS_FWD_HPP |