OpenMD 3.0
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::Utils::Accumulator< T > Class Template Reference
+ Inheritance diagram for OpenMD::Utils::Accumulator< T >:

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 65 of file Accumulator.hpp.

Member Function Documentation

◆ add()

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

Definition at line 70 of file Accumulator.hpp.

◆ get95percentConfidenceInterval()

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

Definition at line 130 of file Accumulator.hpp.

◆ getAverage()

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

Definition at line 110 of file Accumulator.hpp.

◆ getCount()

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

Definition at line 87 of file Accumulator.hpp.

◆ getLastValue()

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

Definition at line 89 of file Accumulator.hpp.

◆ getMax()

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

Definition at line 96 of file Accumulator.hpp.

◆ getMin()

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

Definition at line 103 of file Accumulator.hpp.

◆ getStdDev()

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

Definition at line 123 of file Accumulator.hpp.

◆ getTotal()

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

Definition at line 91 of file Accumulator.hpp.

◆ getVariance()

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

Definition at line 115 of file Accumulator.hpp.


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