The class is templated as follows:. More...
#include <filter.h>
Public Member Functions | |
Filter () | |
Default constructor. | |
virtual T3 | operator() (const T1 Sample) |
Filter a single sample. | |
virtual Vec< T3 > | operator() (const Vec< T1 > &v) |
Filter a vector. | |
virtual | ~Filter () |
Virtual destructor. | |
Protected Member Functions | |
virtual T3 | filter (const T1 Sample)=0 |
Pure virtual filter function. This is where the real filtering is done. Implement this function to create a new filter. |
The class is templated as follows:.
T1
is the type of the input samples T2
is the type of the filter coefficients T3
is the type of the output samples