Boost logo

Boost-Commit :

From: pbristow_at_[hidden]
Date: 2007-08-29 10:09:35


Author: pbristow
Date: 2007-08-29 10:09:34 EDT (Wed, 29 Aug 2007)
New Revision: 39050
URL: http://svn.boost.org/trac/boost/changeset/39050

Log:
updated copyright date
Text files modified:
   sandbox/math_toolkit/boost/math/distributions/triangular.hpp | 10 +++++-----
   1 files changed, 5 insertions(+), 5 deletions(-)

Modified: sandbox/math_toolkit/boost/math/distributions/triangular.hpp
==============================================================================
--- sandbox/math_toolkit/boost/math/distributions/triangular.hpp (original)
+++ sandbox/math_toolkit/boost/math/distributions/triangular.hpp 2007-08-29 10:09:34 EDT (Wed, 29 Aug 2007)
@@ -1,5 +1,5 @@
-// Copyright John Maddock 2006.
-// Copyright Paul A. Bristow 2006.
+// Copyright John Maddock 2006, 2007.
+// Copyright Paul A. Bristow 2006, 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)
@@ -147,9 +147,9 @@
 
     triangular_distribution(RealType lower = -1, RealType mode = 0, RealType upper = 1)
       : m_lower(lower), m_mode(mode), m_upper(upper) // Constructor.
- { // Evans says standard is lower 0, mode 1/2, upper 1,
+ { // Evans says 'standard triangular' is lower 0, mode 1/2, upper 1,
       // has median sqrt(c/2) for c <=1/2 and 1 - sqrt(1-c)/2 for c >= 1/2
- // But this is more useful in most applications to approximate normal distribution,
+ // But this -1, 0, 1 is more useful in most applications to approximate normal distribution,
       // where the central value is the most likely and deviations either side equally likely.
       RealType result;
       detail::check_triangular("boost::math::triangular_distribution<%1%>::triangular_distribution",lower, mode, upper, &result, Policy());
@@ -504,7 +504,7 @@
       return result;
     }
     return static_cast<RealType>(-3)/5; // - 3/5 = -0.6
- // Assuming mathworld really means kurtosis excess? Wikipedia corrected to match this.
+ // Assuming mathworld really means kurtosis excess? Wikipedia now corrected to match this.
   }
 
 } // namespace math


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