OpenStructure
Loading...
Searching...
No Matches
Public Member Functions
StatAccumulator< MAX_MOMENT, DATATYPE > Class Template Reference

#include <stat_accumulator.hh>

Public Member Functions

 StatAccumulator ()
 
 StatAccumulator (DATATYPE val, Real w=1.0)
 
void operator() (DATATYPE val, Real w=1.0)
 
StatAccumulator< MAX_MOMENT, DATATYPE > operator+ (const StatAccumulator< MAX_MOMENT, DATATYPE > &acc2) const
 
StatAccumulator< MAX_MOMENT, DATATYPE > & operator+= (const StatAccumulator< MAX_MOMENT, DATATYPE > &acc)
 
Real GetNumSamples () const
 
DATATYPE GetMaximum () const
 
DATATYPE GetMinimum () const
 
Real GetWeight () const
 
DATATYPE GetMoment (unsigned int i) const
 
DATATYPE GetMean () const
 
DATATYPE GetSum () const
 
DATATYPE GetVariance () const
 
DATATYPE GetStandardDeviation () const
 
DATATYPE GetRootMeanSquare () const
 
DATATYPE GetSkewness () const
 
DATATYPE GetKurtosis () const
 

Detailed Description

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
class ost::img::alg::StatAccumulator< MAX_MOMENT, DATATYPE >

Definition at line 45 of file stat_accumulator.hh.

Constructor & Destructor Documentation

◆ StatAccumulator() [1/2]

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
StatAccumulator ( )
inline

Definition at line 48 of file stat_accumulator.hh.

◆ StatAccumulator() [2/2]

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
StatAccumulator ( DATATYPE  val,
Real  w = 1.0 
)
inline

Definition at line 63 of file stat_accumulator.hh.

Member Function Documentation

◆ GetKurtosis()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
DATATYPE GetKurtosis ( ) const
inline

Definition at line 228 of file stat_accumulator.hh.

◆ GetMaximum()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
DATATYPE GetMaximum ( ) const
inline

Definition at line 153 of file stat_accumulator.hh.

◆ GetMean()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
DATATYPE GetMean ( ) const
inline

Definition at line 179 of file stat_accumulator.hh.

◆ GetMinimum()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
DATATYPE GetMinimum ( ) const
inline

Definition at line 158 of file stat_accumulator.hh.

◆ GetMoment()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
DATATYPE GetMoment ( unsigned int  i) const
inline

Definition at line 168 of file stat_accumulator.hh.

◆ GetNumSamples()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
Real GetNumSamples ( ) const
inline

Definition at line 148 of file stat_accumulator.hh.

◆ GetRootMeanSquare()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
DATATYPE GetRootMeanSquare ( ) const
inline

Definition at line 208 of file stat_accumulator.hh.

◆ GetSkewness()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
DATATYPE GetSkewness ( ) const
inline

Definition at line 216 of file stat_accumulator.hh.

◆ GetStandardDeviation()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
DATATYPE GetStandardDeviation ( ) const
inline

Definition at line 203 of file stat_accumulator.hh.

◆ GetSum()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
DATATYPE GetSum ( ) const
inline

Definition at line 187 of file stat_accumulator.hh.

◆ GetVariance()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
DATATYPE GetVariance ( ) const
inline

Definition at line 192 of file stat_accumulator.hh.

◆ GetWeight()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
Real GetWeight ( ) const
inline

Definition at line 163 of file stat_accumulator.hh.

◆ operator()()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
void operator() ( DATATYPE  val,
Real  w = 1.0 
)
inline

Definition at line 80 of file stat_accumulator.hh.

◆ operator+()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
StatAccumulator< MAX_MOMENT, DATATYPE > operator+ ( const StatAccumulator< MAX_MOMENT, DATATYPE > &  acc2) const
inline

Definition at line 85 of file stat_accumulator.hh.

◆ operator+=()

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
StatAccumulator< MAX_MOMENT, DATATYPE > & operator+= ( const StatAccumulator< MAX_MOMENT, DATATYPE > &  acc)
inline

Definition at line 92 of file stat_accumulator.hh.


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