|
JASPL
0.2
Just Another Signal Processing Library
|
Average together a (nearly) arbitrary number of container-like objects using the recursive definition of the expected value defined by: More...
#include <jalgorithm.h>
Public Member Functions | |
| RecurseMean (uint num_samples) | |
| void | operator() (const T &next_value) |
| Average together a new value. More... | |
| void | Reset () |
| T::value_type | Index () |
| T | ReturnValue () |
Average together a (nearly) arbitrary number of container-like objects using the recursive definition of the expected value defined by:
Template parameter needs to be a container-liker object filled with floating-point values.
Definition at line 34 of file jalgorithm.h.
| void jaspl::RecurseMean< T >::operator() | ( | const T & | next_value | ) |
Average together a new value.
| next_value | The container to be averaged |
1.8.11