DUNE: Uniform Navigational Environment  2016.05.0
DUNE::Math::MovingAverage< T > Class Template Reference

Public Member Functions

 MovingAverage (unsigned window_size)
 
void clear (void)
 
update (const T &value)
 
mean (void)
 
stdev (void)
 
unsigned sampleSize (void)
 

Constructor & Destructor Documentation

template<typename T>
DUNE::Math::MovingAverage< T >::MovingAverage ( unsigned  window_size)
inline

Member Function Documentation

template<typename T>
T DUNE::Math::MovingAverage< T >::stdev ( void  )
inline

Extract standard deviation of the sample.

Returns
standard deviation value.

Referenced by Monitors::Collisions::Task::consume().

Collaboration diagram for DUNE::Math::MovingAverage< T >:
Collaboration graph