Boost logo

Boost-Commit :

From: pbristow_at_[hidden]
Date: 2008-02-16 05:53:35


Author: pbristow
Date: 2008-02-16 05:53:34 EST (Sat, 16 Feb 2008)
New Revision: 43276
URL: http://svn.boost.org/trac/boost/changeset/43276

Log:
Added short comment about range of df for mode.
Text files modified:
   sandbox/math_toolkit/libs/math/doc/sf_and_dist/distributions/chi_squared.qbk | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: sandbox/math_toolkit/libs/math/doc/sf_and_dist/distributions/chi_squared.qbk
==============================================================================
--- sandbox/math_toolkit/libs/math/doc/sf_and_dist/distributions/chi_squared.qbk (original)
+++ sandbox/math_toolkit/libs/math/doc/sf_and_dist/distributions/chi_squared.qbk 2008-02-16 05:53:34 EST (Sat, 16 Feb 2008)
@@ -105,6 +105,11 @@
 All the [link math_toolkit.dist.dist_ref.nmp usual non-member accessor functions]
 that are generic to all distributions are supported: __usual_accessors.
 
+(We have followed the usual restriction of the mode to degrees of freedom >= 2,
+but note that the maximum of the pdf is actually zero for degrees of freedom from 2 down to 0,
+and provide an extended definition that would avoid a discontinuity in the mode
+as alternative code in a comment).
+
 The domain of the random variable is \[0, +[infin]\].
 
 [h4 Examples]


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