Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80070 - trunk/boost/math/distributions
From: john_at_[hidden]
Date: 2012-08-17 12:19:23


Author: johnmaddock
Date: 2012-08-17 12:19:23 EDT (Fri, 17 Aug 2012)
New Revision: 80070
URL: http://svn.boost.org/trac/boost/changeset/80070

Log:
Update reference in comments.
Text files modified:
   trunk/boost/math/distributions/non_central_t.hpp | 10 ++++++++++
   1 files changed, 10 insertions(+), 0 deletions(-)

Modified: trunk/boost/math/distributions/non_central_t.hpp
==============================================================================
--- trunk/boost/math/distributions/non_central_t.hpp (original)
+++ trunk/boost/math/distributions/non_central_t.hpp 2012-08-17 12:19:23 EDT (Fri, 17 Aug 2012)
@@ -222,6 +222,11 @@
                // "A Comparison of Approximations To Persentiles of the
                // Noncentral t-Distribution". H. Sahai and M. M. Ojeda,
                // Revista Investigacion Operacional Vol 21, No 2, 2000.
+ // Original sources referenced in the above are:
+ // "Some Approximations to the Persentage Points of the Noncentral
+ // t-Distribution". C. van Eeden. International Statistical Review, 29, 4-31.
+ // "Continuous Univariate Distributions". N.L. Johnson, S. Kotz and
+ // N. Balkrishnan. 1995. John Wiley and Sons New York.
                T result = cdf(students_t_distribution<T, Policy>(v), t - delta);
                return invert ? 1 - result : result;
             }
@@ -455,6 +460,11 @@
                // "A Comparison of Approximations To Persentiles of the
                // Noncentral t-Distribution". H. Sahai and M. M. Ojeda,
                // Revista Investigacion Operacional Vol 21, No 2, 2000.
+ // Original sources referenced in the above are:
+ // "Some Approximations to the Persentage Points of the Noncentral
+ // t-Distribution". C. van Eeden. International Statistical Review, 29, 4-31.
+ // "Continuous Univariate Distributions". N.L. Johnson, S. Kotz and
+ // N. Balkrishnan. 1995. John Wiley and Sons New York.
                return pdf(students_t_distribution<T, Policy>(n), t - delta);
             }
             //


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