OpenMD 3.2
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::Utils::Accumulator< T > Class Template Reference

Public Member Functions

void add (const T &val)
std::size_t getCount () const
getLastValue () const
getTotal () const
RealType getMax () const
RealType getMin () const
RealType getAverage () const
RealType getVariance () const
RealType getStdDev () const
RealType get95percentConfidenceInterval () const

Detailed Description

template<typename T>
class OpenMD::Utils::Accumulator< T >

Definition at line 68 of file Accumulator.hpp.

Member Function Documentation

◆ add()

template<typename T>
void OpenMD::Utils::Accumulator< T >::add ( const T & val)
inline

Definition at line 73 of file Accumulator.hpp.

◆ get95percentConfidenceInterval()

template<typename T>
RealType OpenMD::Utils::Accumulator< T >::get95percentConfidenceInterval ( ) const
inline

Definition at line 133 of file Accumulator.hpp.

◆ getAverage()

template<typename T>
RealType OpenMD::Utils::Accumulator< T >::getAverage ( ) const
inline

Definition at line 113 of file Accumulator.hpp.

◆ getCount()

template<typename T>
std::size_t OpenMD::Utils::Accumulator< T >::getCount ( ) const
inline

Definition at line 90 of file Accumulator.hpp.

◆ getLastValue()

template<typename T>
T OpenMD::Utils::Accumulator< T >::getLastValue ( ) const
inline

Definition at line 92 of file Accumulator.hpp.

◆ getMax()

template<typename T>
RealType OpenMD::Utils::Accumulator< T >::getMax ( ) const
inline

Definition at line 99 of file Accumulator.hpp.

◆ getMin()

template<typename T>
RealType OpenMD::Utils::Accumulator< T >::getMin ( ) const
inline

Definition at line 106 of file Accumulator.hpp.

◆ getStdDev()

template<typename T>
RealType OpenMD::Utils::Accumulator< T >::getStdDev ( ) const
inline

Definition at line 126 of file Accumulator.hpp.

◆ getTotal()

template<typename T>
T OpenMD::Utils::Accumulator< T >::getTotal ( ) const
inline

Definition at line 94 of file Accumulator.hpp.

◆ getVariance()

template<typename T>
RealType OpenMD::Utils::Accumulator< T >::getVariance ( ) const
inline

Definition at line 118 of file Accumulator.hpp.


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