|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r56444 - sandbox/statistics/distribution_toolkit/libs/statistics/detail/distribution_toolkit/example
From: erwann.rogard_at_[hidden]
Date: 2009-09-27 15:52:26
Author: e_r
Date: 2009-09-27 15:52:26 EDT (Sun, 27 Sep 2009)
New Revision: 56444
URL: http://svn.boost.org/trac/boost/changeset/56444
Log:
m
Text files modified:
sandbox/statistics/distribution_toolkit/libs/statistics/detail/distribution_toolkit/example/random.cpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Modified: sandbox/statistics/distribution_toolkit/libs/statistics/detail/distribution_toolkit/example/random.cpp
==============================================================================
--- sandbox/statistics/distribution_toolkit/libs/statistics/detail/distribution_toolkit/example/random.cpp (original)
+++ sandbox/statistics/distribution_toolkit/libs/statistics/detail/distribution_toolkit/example/random.cpp 2009-09-27 15:52:26 EDT (Sun, 27 Sep 2009)
@@ -28,6 +28,12 @@
void example_random(std::ostream& os){
os << "example_random -> " << std::endl;
+
+ // For each distribution, D, and the corresponding random engine returned by
+ // make_random_generator, this example outputs a series of kolmogorov-
+ // smirnov statistics. Convergence to zero is evidence that
+ // the sample agrees wit the cdf of D
+
using namespace boost;
using namespace statistics;
namespace tk = statistics::detail::distribution_toolkit;
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