|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59194 - in sandbox/statistics/non_parametric/libs/statistics/detail/non_parametric: doc example
From: erwann.rogard_at_[hidden]
Date: 2010-01-21 08:13:36
Author: e_r
Date: 2010-01-21 08:13:35 EST (Thu, 21 Jan 2010)
New Revision: 59194
URL: http://svn.boost.org/trac/boost/changeset/59194
Log:
m
Text files modified:
sandbox/statistics/non_parametric/libs/statistics/detail/non_parametric/doc/readme.txt | 5 ++++-
sandbox/statistics/non_parametric/libs/statistics/detail/non_parametric/example/frequency_int.cpp | 5 +++--
2 files changed, 7 insertions(+), 3 deletions(-)
Modified: sandbox/statistics/non_parametric/libs/statistics/detail/non_parametric/doc/readme.txt
==============================================================================
--- sandbox/statistics/non_parametric/libs/statistics/detail/non_parametric/doc/readme.txt (original)
+++ sandbox/statistics/non_parametric/libs/statistics/detail/non_parametric/doc/readme.txt 2010-01-21 08:13:35 EST (Thu, 21 Jan 2010)
@@ -29,9 +29,12 @@
[ History]
+ January 20th, 2010
+ - Miscellanea reorganization of the files
+
January 17th, 2010.
- Modified non_parametric/kolmogorov_smirnov/statistic.hpp from an
- STL-like algorithm to a (much simplified) accumulator.
+ STL-like algorithm to a simpler accumulator.
- Added check_convergence
January 14th, 2010.
Modified: sandbox/statistics/non_parametric/libs/statistics/detail/non_parametric/example/frequency_int.cpp
==============================================================================
--- sandbox/statistics/non_parametric/libs/statistics/detail/non_parametric/example/frequency_int.cpp (original)
+++ sandbox/statistics/non_parametric/libs/statistics/detail/non_parametric/example/frequency_int.cpp 2010-01-21 08:13:35 EST (Thu, 21 Jan 2010)
@@ -38,7 +38,6 @@
} // 3, 3, 3, 2, 2, 1
namespace ed = boost::statistics::detail::empirical_distribution;
-// namespace ks = boost::statistics::detail::ks;
typedef ed::tag::frequency<false,val_> tag_freq_;
typedef ed::tag::frequency<true,val_> tag_cum_freq_;
@@ -54,7 +53,9 @@
acc_()
);
- os << (boost::format("empirical {(pdf,cdf):i=1,...,%1%} : ")%n).str() << std::endl;
+ os
+ << (boost::format("empirical {(pdf,cdf):i=1,...,%1%} : ")%n).str()
+ << std::endl;
int sum = 0;
for(int i = 0; i<n; i++){
BOOST_ASSERT( ed::extract::count<false>(acc,i+1) == i+1);
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