|
Boost-Commit : |
From: pbristow_at_[hidden]
Date: 2007-08-25 07:57:22
Author: pbristow
Date: 2007-08-25 07:57:22 EDT (Sat, 25 Aug 2007)
New Revision: 38929
URL: http://svn.boost.org/trac/boost/changeset/38929
Log:
Copyright & cosmetic
Text files modified:
sandbox/math_toolkit/boost/math/distributions/chi_squared.hpp | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
Modified: sandbox/math_toolkit/boost/math/distributions/chi_squared.hpp
==============================================================================
--- sandbox/math_toolkit/boost/math/distributions/chi_squared.hpp (original)
+++ sandbox/math_toolkit/boost/math/distributions/chi_squared.hpp 2007-08-25 07:57:22 EDT (Sat, 25 Aug 2007)
@@ -1,4 +1,5 @@
-// Copyright John Maddock 2006.
+// Copyright John Maddock 2006, 2007.
+// Copyright Paul A. Bristow 2007.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0.
@@ -18,7 +19,7 @@
namespace boost{ namespace math{
- template <class RealType = double, class Policy = policies::policy<> >
+template <class RealType = double, class Policy = policies::policy<> >
class chi_squared_distribution
{
public:
@@ -47,10 +48,10 @@
private:
//
- // Data members:
+ // Data member:
//
RealType m_df; // degrees of freedom are a real number.
-};
+}; // class chi_squared_distribution
typedef chi_squared_distribution<double> chi_squared;
@@ -247,7 +248,8 @@
//
// Parameter estimation comes last:
//
-namespace detail{
+namespace detail
+{
template <class RealType, class Policy>
struct df_estimator
@@ -278,7 +280,7 @@
RealType alpha, beta, ratio;
};
-}
+} // namespace detail
template <class RealType, class Policy>
RealType chi_squared_distribution<RealType, Policy>::estimate_degrees_of_freedom(
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