#include <filter.h>
Public Member Functions | |
IIRFilter () | |
virtual | ~IIRFilter () |
const IIRFilter & | operator= (const IIRFilter< T > &src) |
class IIRFilter Implementation | |
void | setIIRCoeff (const typename DEMatrix< T >::Type &B, const typename DEMatrix< T >::Type &A) throw (AUExcept) |
void | calc (typename DEVector< T >::Type &x) |
Protected Attributes | |
DEMatrix< T >::Type | B_ |
DEMatrix< T >::Type | A_ |
DEMatrix< T >::Type | S_ |
DEVector< T >::Type | y_ |
aureservoir::IIRFilter< T >::IIRFilter | ( | ) | [inline] |
Constructor.
virtual aureservoir::IIRFilter< T >::~IIRFilter | ( | ) | [inline, virtual] |
Destructor.
const IIRFilter& aureservoir::IIRFilter< T >::operator= | ( | const IIRFilter< T > & | src | ) | [inline] |
assignment operator
void aureservoir::IIRFilter< T >::setIIRCoeff | ( | const typename DEMatrix< T >::Type & | B, | |
const typename DEMatrix< T >::Type & | A | |||
) | 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 |
void aureservoir::IIRFilter< T >::calc | ( | typename DEVector< T >::Type & | x | ) | [inline] |
calculates one filter step on each element of x and writes the result back to x
DEMatrix<T>::Type aureservoir::IIRFilter< T >::B_ [protected] |
filter numerator coefficients
DEMatrix<T>::Type aureservoir::IIRFilter< T >::A_ [protected] |
filter denominator coefficients
DEMatrix<T>::Type aureservoir::IIRFilter< T >::S_ [protected] |
internal data for calculation
DEVector<T>::Type aureservoir::IIRFilter< T >::y_ [protected] |
temporal object to store output