ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <MeanVarianceCalculator.hpp>
Public Member Functions | |
MeanVarianceCalculator (::System::System const *system, int delta_N, std::shared_ptr< Observables::Observable > obs) | |
void | update (boost::mpi::communicator const &comm) override |
std::vector< double > | mean () |
std::vector< double > | variance () |
std::vector< double > | std_error () |
std::string | get_internal_state () const final |
void | set_internal_state (std::string const &) final |
std::vector< std::size_t > | shape () const override |
Public Member Functions inherited from Accumulators::AccumulatorBase | |
AccumulatorBase (::System::System const *system, int delta_N) | |
virtual | ~AccumulatorBase ()=default |
int & | delta_N () |
bool | has_same_system_handle (::System::System const *system) const |
void | override_system_handle (::System::System const *system) |
Additional Inherited Members | |
Protected Attributes inherited from Accumulators::AccumulatorBase | |
void const * | m_system |
for bookkeeping purposes | |
Definition at line 34 of file core/accumulators/MeanVarianceCalculator.hpp.
|
inline |
Definition at line 38 of file core/accumulators/MeanVarianceCalculator.hpp.
|
finalvirtual |
Implements Accumulators::AccumulatorBase.
Definition at line 53 of file MeanVarianceCalculator.cpp.
std::vector< double > Accumulators::MeanVarianceCalculator::mean | ( | ) |
Definition at line 43 of file MeanVarianceCalculator.cpp.
References Utils::Accumulator::mean().
|
finalvirtual |
Implements Accumulators::AccumulatorBase.
Definition at line 62 of file MeanVarianceCalculator.cpp.
References Accumulators::AccumulatorBase::m_system.
|
inlineoverridevirtual |
Implements Accumulators::AccumulatorBase.
Definition at line 48 of file core/accumulators/MeanVarianceCalculator.hpp.
std::vector< double > Accumulators::MeanVarianceCalculator::std_error | ( | ) |
Definition at line 49 of file MeanVarianceCalculator.cpp.
References Utils::Accumulator::std_error().
|
overridevirtual |
Implements Accumulators::AccumulatorBase.
Definition at line 35 of file MeanVarianceCalculator.cpp.
std::vector< double > Accumulators::MeanVarianceCalculator::variance | ( | ) |
Definition at line 45 of file MeanVarianceCalculator.cpp.
References Utils::Accumulator::variance().