|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53406 - in branches/release: . boost/accumulators/statistics libs/accumulators/doc
From: eric_at_[hidden]
Date: 2009-05-29 14:39:21
Author: eric_niebler
Date: 2009-05-29 14:39:20 EDT (Fri, 29 May 2009)
New Revision: 53406
URL: http://svn.boost.org/trac/boost/changeset/53406
Log:
Merged revisions 53405 via svnmerge from
https://svn.boost.org/svn/boost/trunk
........
r53405 | eric_niebler | 2009-05-29 11:21:13 -0700 (Fri, 29 May 2009) | 1 line
document precondition on result extraction for density accumulator
........
Properties modified:
branches/release/ (props changed)
Text files modified:
branches/release/boost/accumulators/statistics/density.hpp | 3 +++
branches/release/libs/accumulators/doc/accumulators.qbk | 5 +++++
2 files changed, 8 insertions(+), 0 deletions(-)
Modified: branches/release/boost/accumulators/statistics/density.hpp
==============================================================================
--- branches/release/boost/accumulators/statistics/density.hpp (original)
+++ branches/release/boost/accumulators/statistics/density.hpp 2009-05-29 14:39:20 EDT (Fri, 29 May 2009)
@@ -157,6 +157,9 @@
}
}
+ /**
+ @pre The number of samples must meet or exceed the cache size
+ */
template<typename Args>
result_type result(Args const &args) const
{
Modified: branches/release/libs/accumulators/doc/accumulators.qbk
==============================================================================
--- branches/release/libs/accumulators/doc/accumulators.qbk (original)
+++ branches/release/libs/accumulators/doc/accumulators.qbk 2009-05-29 14:39:20 EDT (Fri, 29 May 2009)
@@ -1141,6 +1141,11 @@
#include <_DENSITY_HPP_>
+[*Note]
+
+Results from the `density` accumulator can only be extracted after the number of
+samples meets or exceeds the cache size.
+
[/ TODO add example ]
[*See also]
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