#include <filter.h>
Public Member Functions | |
SerialIIRFilter () | |
virtual | ~SerialIIRFilter () |
const SerialIIRFilter & | operator= (const IIRFilter< T > &src) |
class SerialIIRFilter Implementation | |
void | setIIRCoeff (const typename DEMatrix< T >::Type &B, const typename DEMatrix< T >::Type &A, int series=1) throw (AUExcept) |
void | calc (typename DEVector< T >::Type &x) |
Protected Attributes | |
std::vector < IIRFilter< T > > | filters_ |
aureservoir::SerialIIRFilter< T >::SerialIIRFilter | ( | ) | [inline] |
Constructor.
virtual aureservoir::SerialIIRFilter< T >::~SerialIIRFilter | ( | ) | [inline, virtual] |
Destructor.
const SerialIIRFilter& aureservoir::SerialIIRFilter< T >::operator= | ( | const IIRFilter< T > & | src | ) | [inline] |
assignment operator
void aureservoir::SerialIIRFilter< T >::setIIRCoeff | ( | const typename DEMatrix< T >::Type & | B, | |
const typename DEMatrix< T >::Type & | A, | |||
int | series = 1 | |||
) | throw (AUExcept) [inline] |
sets the filter coefficients
B | matrix with numerator coefficient vectors (m x nb) m ... nr of parallel filters (neurons) nb ... nr of filter coefficients | |
A | matrix with denominator coefficient vectors (m x na) m ... nr of parallel filters (neurons) na ... nr of filter coefficients | |
seris | nr of serial IIR filters, e.g. if series=2 the coefficients B and A will be divided in its half and calculated with 2 serial IIR filters |
void aureservoir::SerialIIRFilter< T >::calc | ( | typename DEVector< T >::Type & | x | ) | [inline] |
calculates one filter step on each element of x and writes the result back to x
std::vector< IIRFilter<T> > aureservoir::SerialIIRFilter< T >::filters_ [protected] |
the single filters