![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <Accumulator.hpp>
Public Member Functions | |
| Accumulator (std::size_t N) | |
| void | operator() (const std::vector< double > &) |
| std::vector< double > | mean () const |
| Compute the sample mean. | |
| std::vector< double > | variance () const |
| Compute the Bessel-corrected sample variance, assuming uncorrelated data. | |
| std::vector< double > | std_error () const |
| Compute the standard error of the mean, assuming uncorrelated data. | |
Friends | |
| class | boost::serialization::access |
Definition at line 48 of file Accumulator.hpp.
|
inlineexplicit |
Definition at line 50 of file Accumulator.hpp.
|
inline |
Compute the sample mean.
Definition at line 94 of file Accumulator.hpp.
References stream.
Referenced by Accumulators::MeanVarianceCalculator::mean().
Definition at line 68 of file Accumulator.hpp.
|
inline |
Compute the standard error of the mean, assuming uncorrelated data.
Definition at line 123 of file Accumulator.hpp.
References stream.
Referenced by Accumulators::MeanVarianceCalculator::std_error().
|
inline |
Compute the Bessel-corrected sample variance, assuming uncorrelated data.
Definition at line 105 of file Accumulator.hpp.
References stream.
Referenced by Accumulators::MeanVarianceCalculator::variance().
Definition at line 60 of file Accumulator.hpp.