Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48657 - in sandbox/SOC/2008/parrallel_math/boost/math: . distributions
From: gautamcool88_at_[hidden]
Date: 2008-09-07 17:45:51


Author: s.gautam
Date: 2008-09-07 17:45:51 EDT (Sun, 07 Sep 2008)
New Revision: 48657
URL: http://svn.boost.org/trac/boost/changeset/48657

Log:
made changes to a copy containing newer distributions
Text files modified:
   sandbox/SOC/2008/parrallel_math/boost/math/distributions.hpp | 11 ++++++-----
   sandbox/SOC/2008/parrallel_math/boost/math/distributions/fwd.hpp | 19 ++++++++++++++++---
   2 files changed, 22 insertions(+), 8 deletions(-)

Modified: sandbox/SOC/2008/parrallel_math/boost/math/distributions.hpp
==============================================================================
--- sandbox/SOC/2008/parrallel_math/boost/math/distributions.hpp (original)
+++ sandbox/SOC/2008/parrallel_math/boost/math/distributions.hpp 2008-09-07 17:45:51 EDT (Sun, 07 Sep 2008)
@@ -24,6 +24,10 @@
 #include <boost/math/distributions/gamma.hpp>
 #include <boost/math/distributions/lognormal.hpp>
 #include <boost/math/distributions/negative_binomial.hpp>
+#include <boost/math/distributions/non_central_chi_squared.hpp>
+#include <boost/math/distributions/non_central_beta.hpp>
+#include <boost/math/distributions/non_central_f.hpp>
+#include <boost/math/distributions/non_central_t.hpp>
 #include <boost/math/distributions/normal.hpp>
 #include <boost/math/distributions/pareto.hpp>
 #include <boost/math/distributions/poisson.hpp>
@@ -33,11 +37,8 @@
 #include <boost/math/distributions/uniform.hpp>
 #include <boost/math/distributions/weibull.hpp>
 #include <boost/math/distributions/gsoc_logistic.hpp>
-// find location and shape for appropriate distributions,
-// normal, cauchy, lognormal, symmetric triangular
-// Disabled for now, these are still work in progress.
-//#include <boost/math/distributions/find_scale.hpp>
-//#include <boost/math/distributions/find_location.hpp>
+#include <boost/math/distributions/find_scale.hpp>
+#include <boost/math/distributions/find_location.hpp>
 
 #endif // BOOST_MATH_DISTRIBUTIONS_HPP
 

Modified: sandbox/SOC/2008/parrallel_math/boost/math/distributions/fwd.hpp
==============================================================================
--- sandbox/SOC/2008/parrallel_math/boost/math/distributions/fwd.hpp (original)
+++ sandbox/SOC/2008/parrallel_math/boost/math/distributions/fwd.hpp 2008-09-07 17:45:51 EDT (Sun, 07 Sep 2008)
@@ -45,6 +45,18 @@
 class negative_binomial_distribution;
 
 template <class RealType, class Policy>
+class non_central_chi_squared_distribution;
+
+template <class RealType, class Policy>
+class non_central_beta_distribution;
+
+template <class RealType, class Policy>
+class non_central_f_distribution;
+
+template <class RealType, class Policy>
+class non_central_t_distribution;
+
+template <class RealType, class Policy>
 class normal_distribution;
 
 template <class RealType, class Policy>
@@ -70,9 +82,6 @@
 
 template <class RealType, class Policy>
 class logistic_distribution;
-
-
-
 }} // namespaces
 
 #define BOOST_MATH_DECLARE_DISTRIBUTIONS(Type, Policy)\
@@ -95,5 +104,9 @@
    typedef boost::math::triangular_distribution<Type, Policy> triangular;\
    typedef boost::math::uniform_distribution<Type, Policy> uniform;\
    typedef boost::math::weibull_distribution<Type, Policy> weibull;\
+ typedef boost::math::non_central_chi_squared_distribution<Type, Policy> non_central_chi_squared;\
+ typedef boost::math::non_central_beta_distribution<Type, Policy> non_central_beta;\
+ typedef boost::math::non_central_f_distribution<Type, Policy> non_central_f;\
+ typedef boost::math::non_central_t_distribution<Type, Policy> non_central_t;\
    typedef boost::math::logistic_distribution<Type, Policy> logistic;
 #endif // BOOST_MATH_DISTRIBUTIONS_FWD_HPP


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