Marsyas  0.5.0-beta1
Public Member Functions
RunningStatistics Class Reference

Gathers the running average, variance, standard deviation, etc. More...

#include <RunningStatistics.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
void myProcess (realvec &in, realvec &out)
 The core processing method of this MarSystem.
 RunningStatistics (std::string name)
 RunningStatistics (const RunningStatistics &a)
 ~RunningStatistics ()

Detailed Description

Gathers the running average, variance, standard deviation, etc.

Outputs the running average and standard deviation of all the input so far.

Controls:

Todo:

: add kurtosis

: add option to output running energy (we're calculating it anyway)

Definition at line 48 of file RunningStatistics.h.


Constructor & Destructor Documentation

RunningStatistics ( std::string  name)

Add any specific controls needed by this MarSystem.

Definition at line 28 of file RunningStatistics.cpp.

All member MarControlPtr have to be explicitly reassigned in the copy constructor.

Definition at line 35 of file RunningStatistics.cpp.

Definition at line 48 of file RunningStatistics.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 53 of file RunningStatistics.cpp.

void myProcess ( realvec in,
realvec out 
) [virtual]

The core processing method of this MarSystem.

Implements MarSystem.

Definition at line 126 of file RunningStatistics.cpp.


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