Marsyas
0.6.0-alpha
|
Centroid of observations within each sample. More...
#include <Centroid.h>
Inherits MarSystem.
Public Member Functions | |
Centroid (std::string name) | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
~Centroid () |
Centroid of observations within each sample.
Centroid computes the centroid of the observations for each time sample. The center is defined as the normalized first moment (center of gravity) of the observation vector.
Definition at line 37 of file Centroid.h.
Centroid | ( | std::string | name | ) |
Definition at line 26 of file Centroid.cpp.
~Centroid | ( | ) |
Definition at line 32 of file Centroid.cpp.
Implements MarSystem.
Definition at line 37 of file Centroid.cpp.
Processes data.
in | Input data to read. |
out | Output data to write. |
Implement this method in subclass to define specific data processing.
Implements MarSystem.
Definition at line 55 of file Centroid.cpp.