ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
Utils::Accumulator Class Reference

#include <Accumulator.hpp>

Public Member Functions

 Accumulator (std::size_t N)
 
void operator() (const std::vector< double > &)
 
std::vector< double > mean () const
 
std::vector< double > variance () const
 
std::vector< double > std_error () const
 Returns the standard error of the mean assuming uncorrelated samples.
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 48 of file Accumulator.hpp.

Constructor & Destructor Documentation

◆ Accumulator()

Utils::Accumulator::Accumulator ( std::size_t  N)
inlineexplicit

Definition at line 50 of file Accumulator.hpp.

Member Function Documentation

◆ mean()

std::vector< double > Utils::Accumulator::mean ( ) const
inline

Definition at line 91 of file Accumulator.hpp.

Referenced by Accumulators::MeanVarianceCalculator::mean().

◆ operator()()

void Utils::Accumulator::operator() ( const std::vector< double > &  data)
inline

Definition at line 68 of file Accumulator.hpp.

◆ std_error()

std::vector< double > Utils::Accumulator::std_error ( ) const
inline

Returns the standard error of the mean assuming uncorrelated samples.

Definition at line 117 of file Accumulator.hpp.

Referenced by Accumulators::MeanVarianceCalculator::std_error().

◆ variance()

std::vector< double > Utils::Accumulator::variance ( ) const
inline

Definition at line 99 of file Accumulator.hpp.

Referenced by Accumulators::MeanVarianceCalculator::variance().

Friends And Related Symbol Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 60 of file Accumulator.hpp.


The documentation for this class was generated from the following file: