Boost logo

Boost-Commit :

From: pbristow_at_[hidden]
Date: 2007-09-14 12:00:16


Author: pbristow
Date: 2007-09-14 12:00:15 EDT (Fri, 14 Sep 2007)
New Revision: 39271
URL: http://svn.boost.org/trac/boost/changeset/39271

Log:
Corrected link where .cpp filename had changed.
Text files modified:
   sandbox/math_toolkit/libs/math/doc/distributions/nag_library.qbk | 10 +++++-----
   1 files changed, 5 insertions(+), 5 deletions(-)

Modified: sandbox/math_toolkit/libs/math/doc/distributions/nag_library.qbk
==============================================================================
--- sandbox/math_toolkit/libs/math/doc/distributions/nag_library.qbk (original)
+++ sandbox/math_toolkit/libs/math/doc/distributions/nag_library.qbk 2007-09-14 12:00:15 EDT (Fri, 14 Sep 2007)
@@ -11,7 +11,9 @@
 
 However, *do not panic*, both definition and usage are not really very different.
 
-A very simple example of generating the same values for the binomial distribution follows.
+A very simple example of generating the same values as the
+[@http://nag.com/numeric/CL/CLdescription.asp NAG C library]
+for the binomial distribution follows.
 (If you find slightly different values, the Boost C++ version, using double or better,
 is very likely to be the more accurate.
 Of course, accuracy is not usually a concern for most applications of this function).
@@ -28,7 +30,6 @@
 The equivalent using this Boost C++ library is:
 
   using namespace boost::math; // Using declaration avoids very long names.
-
   binomial my_dist(4, 0.5); // c.f. NAG n = 4, p = 0.5
   
 and values can be output thus:
@@ -40,14 +41,13 @@
     << cdf(complement(my_dist, 2)) << " " // NAG pgtk with k = 2
     << pdf(my_dist, 2) << endl; // NAG peqk with k = 2
 
-
 `cdf(dist, k)` is equivalent to NAG library `plek`, lower tail probability of <= k
 
 `cdf(complement(dist, k))` is equivalent to NAG library `pgtk`, upper tail probability of > k
 
 `pdf(dist, k)` is equivalent to NAG library `peqk`, point probability of == k
 
-See [@../../example/binomial_example_NAG_C.cpp binomial_example_NAG_C.cpp] for details.
+See [@../../example/binomial_example_nag.cpp binomial_example_nag.cpp] for details.
 
-[endsect][/ section:nag_library Comparison with C, R, FORTRAN-style Free Functions]
+[endsect] [/section:nag_library Comparison with C, R, FORTRAN-style Free Functions]
 


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