Marsyas  0.5.0-beta1
Public Member Functions
Subtract Class Reference

Subtracts one observation from another. More...

#include <Subtract.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
void myProcess (realvec &in, realvec &out)
 Processes data.
 Subtract (std::string name)
 Subtract (const Subtract &a)
 ~Subtract ()

Detailed Description

Subtracts one observation from another.

Each sample of the second input observation gets subtracted from the corresponding sample of the first input observation, to form a single output observation. Other input observations are discarded.

No controls.

Definition at line 37 of file Subtract.h.


Constructor & Destructor Documentation

Subtract ( std::string  name)

Definition at line 26 of file Subtract.cpp.

Subtract ( const Subtract a)

Definition at line 31 of file Subtract.cpp.

~Subtract ( )

Definition at line 37 of file Subtract.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 42 of file Subtract.cpp.

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

Processes data.

Parameters:
inInput data to read.
outOutput data to write.

Implement this method in subclass to define specific data processing.

Implements MarSystem.

Definition at line 66 of file Subtract.cpp.


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