Marsyas  0.5.0-beta1
Public Member Functions
HalfWaveRectifier Class Reference

Negative values are trimmed to zero, positive values are kept. More...

#include <HalfWaveRectifier.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

Negative values are trimmed to zero, positive values are kept.

This MarSystem has no extra controls.

See also:
FullWaveRectifier

Definition at line 37 of file HalfWaveRectifier.h.


Constructor & Destructor Documentation

HalfWaveRectifier ( std::string  name)

Definition at line 24 of file HalfWaveRectifier.cpp.

Definition at line 29 of file HalfWaveRectifier.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 34 of file HalfWaveRectifier.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 47 of file HalfWaveRectifier.cpp.


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