fwd.hpp 6.0 KB

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