Marsyas  0.5.0-beta1
Public Member Functions
Signum Class Reference

Compute sign of input vector: output vector is 1 for strictly positive observations, 0 for the rest. More...

#include <Signum.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
void myProcess (realvec &inVec, realvec &outVec)
 Processes data.
 Signum (std::string inName)
 Signum (const Signum &inToCopy)
 ~Signum ()

Detailed Description

Compute sign of input vector: output vector is 1 for strictly positive observations, 0 for the rest.

Author:
Matthias Varewyck
Date:
20090518

controls: none

Definition at line 36 of file Signum.h.


Constructor & Destructor Documentation

Signum ( std::string  inName)

Definition at line 6 of file Signum.cpp.

Signum ( const Signum inToCopy)

Definition at line 12 of file Signum.cpp.

~Signum ( )

Definition at line 15 of file Signum.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 17 of file Signum.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 29 of file Signum.cpp.


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