Boost logo

Boost-Commit :

From: johnmaddock_at_[hidden]
Date: 2007-07-23 11:55:14


Author: johnmaddock
Date: 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
New Revision: 7515
URL: http://svn.boost.org/trac/boost/changeset/7515

Log:
Added distribution forward declarations, plus short-cut macro for declaring policy-based distributions.

Added:
   sandbox/math_toolkit/policy/boost/math/distributions/fwd.hpp
Text files modified:
   sandbox/math_toolkit/policy/boost/math/distributions/bernoulli.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/beta.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/binomial.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/cauchy.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/chi_squared.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/exponential.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/extreme_value.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/fisher_f.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/gamma.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/lognormal.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/negative_binomial.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/normal.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/pareto.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/poisson.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/rayleigh.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/students_t.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/triangular.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/uniform.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/distributions/weibull.hpp | 1 +
   sandbox/math_toolkit/policy/boost/math/special_functions/fpclassify.hpp | 3 +--
   sandbox/math_toolkit/policy/boost/math/special_functions/math_fwd.hpp | 2 ++
   sandbox/math_toolkit/policy/libs/math/test/compile_test/instantiate.hpp | 26 ++++++++++++++++++++++++++
   22 files changed, 48 insertions(+), 2 deletions(-)

Modified: sandbox/math_toolkit/policy/boost/math/distributions/bernoulli.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/bernoulli.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/bernoulli.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -27,6 +27,7 @@
 #ifndef BOOST_MATH_SPECIAL_BERNOULLI_HPP
 #define BOOST_MATH_SPECIAL_BERNOULLI_HPP
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/tools/config.hpp>
 #include <boost/math/distributions/complement.hpp> // complements
 #include <boost/math/distributions/detail/common_error_handling.hpp> // error checks

Modified: sandbox/math_toolkit/policy/boost/math/distributions/beta.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/beta.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/beta.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -24,6 +24,7 @@
 #ifndef BOOST_MATH_DIST_BETA_HPP
 #define BOOST_MATH_DIST_BETA_HPP
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/special_functions/beta.hpp> // for beta.
 #include <boost/math/distributions/complement.hpp> // complements.
 #include <boost/math/distributions/detail/common_error_handling.hpp> // error checks

Modified: sandbox/math_toolkit/policy/boost/math/distributions/binomial.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/binomial.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/binomial.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -80,6 +80,7 @@
 #ifndef BOOST_MATH_SPECIAL_BINOMIAL_HPP
 #define BOOST_MATH_SPECIAL_BINOMIAL_HPP
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/special_functions/beta.hpp> // for incomplete beta.
 #include <boost/math/distributions/complement.hpp> // complements
 #include <boost/math/distributions/detail/common_error_handling.hpp> // error checks

Modified: sandbox/math_toolkit/policy/boost/math/distributions/cauchy.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/cauchy.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/cauchy.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -6,6 +6,7 @@
 #ifndef BOOST_STATS_CAUCHY_HPP
 #define BOOST_STATS_CAUCHY_HPP
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/constants/constants.hpp>
 #include <boost/math/distributions/complement.hpp>
 #include <boost/math/distributions/detail/common_error_handling.hpp>

Modified: sandbox/math_toolkit/policy/boost/math/distributions/chi_squared.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/chi_squared.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/chi_squared.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -8,6 +8,7 @@
 #ifndef BOOST_MATH_DISTRIBUTIONS_CHI_SQUARED_HPP
 #define BOOST_MATH_DISTRIBUTIONS_CHI_SQUARED_HPP
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/special_functions/gamma.hpp> // for incomplete beta.
 #include <boost/math/distributions/complement.hpp> // complements
 #include <boost/math/distributions/detail/common_error_handling.hpp> // error checks

Modified: sandbox/math_toolkit/policy/boost/math/distributions/exponential.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/exponential.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/exponential.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -6,6 +6,7 @@
 #ifndef BOOST_STATS_EXPONENTIAL_HPP
 #define BOOST_STATS_EXPONENTIAL_HPP
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/constants/constants.hpp>
 #include <boost/math/special_functions/log1p.hpp>
 #include <boost/math/special_functions/expm1.hpp>

Modified: sandbox/math_toolkit/policy/boost/math/distributions/extreme_value.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/extreme_value.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/extreme_value.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -6,6 +6,7 @@
 #ifndef BOOST_STATS_EXTREME_VALUE_HPP
 #define BOOST_STATS_EXTREME_VALUE_HPP
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/constants/constants.hpp>
 #include <boost/math/special_functions/log1p.hpp>
 #include <boost/math/special_functions/expm1.hpp>

Modified: sandbox/math_toolkit/policy/boost/math/distributions/fisher_f.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/fisher_f.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/fisher_f.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -8,6 +8,7 @@
 #ifndef BOOST_MATH_DISTRIBUTIONS_FISHER_F_HPP
 #define BOOST_MATH_DISTRIBUTIONS_FISHER_F_HPP
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/special_functions/beta.hpp> // for incomplete beta.
 #include <boost/math/distributions/complement.hpp> // complements
 #include <boost/math/distributions/detail/common_error_handling.hpp> // error checks

Added: sandbox/math_toolkit/policy/boost/math/distributions/fwd.hpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/policy/boost/math/distributions/fwd.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -0,0 +1,94 @@
+// Copyright Paul A. Bristow 2007.
+// Copyright John Maddock 2007.
+
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt
+// or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_MATH_DISTRIBUTIONS_FWD_HPP
+#define BOOST_MATH_DISTRIBUTIONS_FWD_HPP
+
+namespace boost{ namespace math{
+
+template <class RealType, class Policy>
+class bernoulli_distribution;
+
+template <class RealType, class Policy>
+class beta_distribution;
+
+template <class RealType, class Policy>
+class binomial_distribution;
+
+template <class RealType, class Policy>
+class cauchy_distribution;
+
+template <class RealType, class Policy>
+class chi_squared_distribution;
+
+template <class RealType, class Policy>
+class exponential_distribution;
+
+template <class RealType, class Policy>
+class extreme_value_distribution;
+
+template <class RealType, class Policy>
+class fisher_f_distribution;
+
+template <class RealType, class Policy>
+class gamma_distribution;
+
+template <class RealType, class Policy>
+class lognormal_distribution;
+
+template <class RealType, class Policy>
+class negative_binomial_distribution;
+
+template <class RealType, class Policy>
+class normal_distribution;
+
+template <class RealType, class Policy>
+class pareto_distribution;
+
+template <class RealType, class Policy>
+class poisson_distribution;
+
+template <class RealType, class Policy>
+class rayleigh_distribution;
+
+template <class RealType, class Policy>
+class students_t_distribution;
+
+template <class RealType, class Policy>
+class triangular_distribution;
+
+template <class RealType, class Policy>
+class uniform_distribution;
+
+template <class RealType, class Policy>
+class weibull_distribution;
+
+}} // namespaces
+
+#define BOOST_MATH_DECLARE_DISTRIBUTIONS(Type, Policy)\
+ typedef boost::math::bernoulli_distribution<Type, Policy> bernoulli;\
+ typedef boost::math::beta_distribution<Type, Policy> beta;\
+ typedef boost::math::binomial_distribution<Type, Policy> binomial;\
+ typedef boost::math::cauchy_distribution<Type, Policy> cauchy;\
+ typedef boost::math::chi_squared_distribution<Type, Policy> chi_squared;\
+ typedef boost::math::exponential_distribution<Type, Policy> exponential;\
+ typedef boost::math::extreme_value_distribution<Type, Policy> extreme_value;\
+ typedef boost::math::fisher_f_distribution<Type, Policy> fisher_f;\
+ typedef boost::math::gamma_distribution<Type, Policy> gamma;\
+ typedef boost::math::lognormal_distribution<Type, Policy> lognormal;\
+ typedef boost::math::negative_binomial_distribution<Type, Policy> negative_binomial;\
+ typedef boost::math::normal_distribution<Type, Policy> normal;\
+ typedef boost::math::pareto_distribution<Type, Policy> pareto;\
+ typedef boost::math::poisson_distribution<Type, Policy> poisson;\
+ typedef boost::math::rayleigh_distribution<Type, Policy> rayleigh;\
+ typedef boost::math::students_t_distribution<Type, Policy> students_t;\
+ typedef boost::math::triangular_distribution<Type, Policy> triangular;\
+ typedef boost::math::uniform_distribution<Type, Policy> uniform;\
+ typedef boost::math::weibull_distribution<Type, Policy> weibull;\
+
+#endif // BOOST_MATH_DISTRIBUTIONS_FWD_HPP

Modified: sandbox/math_toolkit/policy/boost/math/distributions/gamma.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/gamma.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/gamma.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -10,6 +10,7 @@
 // http://mathworld.wolfram.com/GammaDistribution.html
 // http://en.wikipedia.org/wiki/Gamma_distribution
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/special_functions/gamma.hpp>
 #include <boost/math/distributions/detail/common_error_handling.hpp>
 #include <boost/math/distributions/complement.hpp>

Modified: sandbox/math_toolkit/policy/boost/math/distributions/lognormal.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/lognormal.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/lognormal.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -10,6 +10,7 @@
 // http://mathworld.wolfram.com/LogNormalDistribution.html
 // http://en.wikipedia.org/wiki/Lognormal_distribution
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/distributions/normal.hpp>
 #include <boost/math/special_functions/expm1.hpp>
 #include <boost/math/distributions/detail/common_error_handling.hpp>

Modified: sandbox/math_toolkit/policy/boost/math/distributions/negative_binomial.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/negative_binomial.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/negative_binomial.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -39,6 +39,7 @@
 #ifndef BOOST_MATH_SPECIAL_NEGATIVE_BINOMIAL_HPP
 #define BOOST_MATH_SPECIAL_NEGATIVE_BINOMIAL_HPP
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/special_functions/beta.hpp> // for ibeta(a, b, x) == Ix(a, b).
 #include <boost/math/distributions/complement.hpp> // complement.
 #include <boost/math/distributions/detail/common_error_handling.hpp> // error checks domain_error & logic_error.

Modified: sandbox/math_toolkit/policy/boost/math/distributions/normal.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/normal.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/normal.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -13,6 +13,7 @@
 // From MathWorld--A Wolfram Web Resource.
 // http://mathworld.wolfram.com/NormalDistribution.html
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/special_functions/erf.hpp> // for erf/erfc.
 #include <boost/math/distributions/complement.hpp>
 

Modified: sandbox/math_toolkit/policy/boost/math/distributions/pareto.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/pareto.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/pareto.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -14,6 +14,7 @@
 // From MathWorld--A Wolfram Web Resource.
 // http://mathworld.wolfram.com/ParetoDistribution.html
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/distributions/complement.hpp>
 #include <boost/math/distributions/detail/common_error_handling.hpp>
 #include <boost/math/special_functions/powm1.hpp>

Modified: sandbox/math_toolkit/policy/boost/math/distributions/poisson.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/poisson.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/poisson.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -36,6 +36,7 @@
 #ifndef BOOST_MATH_SPECIAL_POISSON_HPP
 #define BOOST_MATH_SPECIAL_POISSON_HPP
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/special_functions/gamma.hpp> // for incomplete gamma. gamma_q
 #include <boost/math/distributions/complement.hpp> // complements
 #include <boost/math/distributions/detail/common_error_handling.hpp> // error checks

Modified: sandbox/math_toolkit/policy/boost/math/distributions/rayleigh.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/rayleigh.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/rayleigh.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -6,6 +6,7 @@
 #ifndef BOOST_STATS_rayleigh_HPP
 #define BOOST_STATS_rayleigh_HPP
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/constants/constants.hpp>
 #include <boost/math/special_functions/log1p.hpp>
 #include <boost/math/special_functions/expm1.hpp>

Modified: sandbox/math_toolkit/policy/boost/math/distributions/students_t.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/students_t.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/students_t.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -10,6 +10,7 @@
 // http://en.wikipedia.org/wiki/Student%27s_t_distribution
 // http://www.itl.nist.gov/div898/handbook/eda/section3/eda3664.htm
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/special_functions/beta.hpp> // for ibeta(a, b, x).
 #include <boost/math/distributions/complement.hpp>
 #include <boost/math/distributions/detail/common_error_handling.hpp>

Modified: sandbox/math_toolkit/policy/boost/math/distributions/triangular.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/triangular.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/triangular.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -10,6 +10,7 @@
 // http://mathworld.wolfram.com/TriangularDistribution.html
 // http://en.wikipedia.org/wiki/Triangular_distribution
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/special_functions/expm1.hpp>
 #include <boost/math/distributions/detail/common_error_handling.hpp>
 #include <boost/math/distributions/complement.hpp>

Modified: sandbox/math_toolkit/policy/boost/math/distributions/uniform.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/uniform.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/uniform.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -15,6 +15,7 @@
 // http://documents.wolfram.com/calculationcenter/v2/Functions/ListsMatrices/Statistics/UniformDistribution.html
 // http://en.wikipedia.org/wiki/Uniform_distribution_%28continuous%29
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/distributions/detail/common_error_handling.hpp>
 #include <boost/math/distributions/complement.hpp>
 

Modified: sandbox/math_toolkit/policy/boost/math/distributions/weibull.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/distributions/weibull.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/distributions/weibull.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -9,6 +9,7 @@
 // http://www.itl.nist.gov/div898/handbook/eda/section3/eda3668.htm
 // http://mathworld.wolfram.com/WeibullDistribution.html
 
+#include <boost/math/distributions/fwd.hpp>
 #include <boost/math/special_functions/gamma.hpp>
 #include <boost/math/special_functions/log1p.hpp>
 #include <boost/math/special_functions/expm1.hpp>

Modified: sandbox/math_toolkit/policy/boost/math/special_functions/fpclassify.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/special_functions/fpclassify.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/special_functions/fpclassify.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -11,6 +11,7 @@
 #include <boost/limits.hpp>
 #include <boost/math/tools/real_cast.hpp>
 #include <boost/type_traits/is_floating_point.hpp>
+#include <boost/math/special_functions/math_fwd.hpp>
 
 #if defined(_MSC_VER) || defined(__BORLANDC__)
 #include <float.h>
@@ -54,8 +55,6 @@
 
 namespace boost{ namespace math{
 
-#define BOOST_NO_MACRO_EXPAND /**/
-
 namespace detail{
 
 #if defined(BOOST_HAS_FPCLASSIFY) || defined(isnan)

Modified: sandbox/math_toolkit/policy/boost/math/special_functions/math_fwd.hpp
==============================================================================
--- sandbox/math_toolkit/policy/boost/math/special_functions/math_fwd.hpp (original)
+++ sandbox/math_toolkit/policy/boost/math/special_functions/math_fwd.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -24,6 +24,8 @@
 #include <boost/mpl/comparison.hpp>
 #include <complex>
 
+#define BOOST_NO_MACRO_EXPAND /**/
+
 namespace boost
 {
         namespace math

Modified: sandbox/math_toolkit/policy/libs/math/test/compile_test/instantiate.hpp
==============================================================================
--- sandbox/math_toolkit/policy/libs/math/test/compile_test/instantiate.hpp (original)
+++ sandbox/math_toolkit/policy/libs/math/test/compile_test/instantiate.hpp 2007-07-23 11:55:11 EDT (Mon, 23 Jul 2007)
@@ -24,6 +24,12 @@
 
 }
 
+namespace dist_test{
+
+BOOST_MATH_DECLARE_DISTRIBUTIONS(double, test_policy)
+
+}
+
 template <class RealType>
 void instantiate(RealType)
 {
@@ -71,6 +77,26 @@
    function_requires<DistributionConcept<uniform_distribution<RealType, test_policy> > >();
    function_requires<DistributionConcept<weibull_distribution<RealType, test_policy> > >();
 
+ function_requires<DistributionConcept<dist_test::bernoulli > >();
+ function_requires<DistributionConcept<dist_test::beta > >();
+ function_requires<DistributionConcept<dist_test::binomial > >();
+ function_requires<DistributionConcept<dist_test::cauchy > >();
+ function_requires<DistributionConcept<dist_test::chi_squared > >();
+ function_requires<DistributionConcept<dist_test::exponential > >();
+ function_requires<DistributionConcept<dist_test::extreme_value > >();
+ function_requires<DistributionConcept<dist_test::fisher_f > >();
+ function_requires<DistributionConcept<dist_test::gamma > >();
+ function_requires<DistributionConcept<dist_test::lognormal > >();
+ function_requires<DistributionConcept<dist_test::negative_binomial > >();
+ function_requires<DistributionConcept<dist_test::normal > >();
+ function_requires<DistributionConcept<dist_test::rayleigh > >();
+ function_requires<DistributionConcept<dist_test::pareto > >();
+ function_requires<DistributionConcept<dist_test::poisson > >();
+ function_requires<DistributionConcept<dist_test::students_t > >();
+ function_requires<DistributionConcept<dist_test::triangular > >();
+ function_requires<DistributionConcept<dist_test::uniform > >();
+ function_requires<DistributionConcept<dist_test::weibull > >();
+
    int i;
    RealType v1(0.5), v2(0.5), v3(0.5);
    boost::math::tgamma(v1);


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk