|
Boost-Commit : |
From: pbristow_at_[hidden]
Date: 2007-08-25 07:52:33
Author: pbristow
Date: 2007-08-25 07:52:33 EDT (Sat, 25 Aug 2007)
New Revision: 38928
URL: http://svn.boost.org/trac/boost/changeset/38928
Log:
added global anchor 'why complements'
Text files modified:
sandbox/math_toolkit/libs/math/doc/dist_tutorial.qbk | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
Modified: sandbox/math_toolkit/libs/math/doc/dist_tutorial.qbk
==============================================================================
--- sandbox/math_toolkit/libs/math/doc/dist_tutorial.qbk (original)
+++ sandbox/math_toolkit/libs/math/doc/dist_tutorial.qbk 2007-08-25 07:52:33 EDT (Sat, 25 Aug 2007)
@@ -221,7 +221,7 @@
degrees of freedom do have a genuine meaning.
]
-
+[#complements]
[h4 Complements are supported too]
Often you don't want the value of the CDF, but its complement, which is
@@ -230,6 +230,8 @@
will cause you to lose significant digits. In extreme cases, `p` may
actually be equal to `1`, even though the true value of the complement is non-zero.
+[link why_complements Why complements?]
+
In this library, whenever you want to receive a complement, just wrap
all the function arguments in a call to `complement(...)`, for example:
@@ -276,6 +278,7 @@
which return 4.82 and 14.63 respectively.
]
+[#why_complements]
[tip
[*Why bother with complements anyway?]
@@ -351,7 +354,7 @@
Now that you have the basics, the next section looks at some worked examples.
-[endsect][/section:stat_tut Statistical Functions Tutorial]
+[endsect] [/section:overview Overview]
[section:weg Worked Examples]
[include distributions/distribution_construction_example.qbk]
@@ -364,11 +367,11 @@
[include distributions/error_handling_example.qbk]
[include distributions/nag_library.qbk]
-[endsect][/section:overview Overview]
+[endsect] [/section:weg Worked Examples]
[include background.qbk]
-[endsect][/ section:stat_tut Statistical Distributions Tutorial]
+[endsect] [/ section:stat_tut Statistical Distributions Tutorial]
[/ dist_tutorial.qbk
Copyright 2006 John Maddock and Paul A. Bristow.
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