library of assembled shared sources |
http://lass.cocamware.com |
#include <filters.h>
Public Types | |
typedef Filter< T, InputIterator, OutputIterator > ::TValue | TValue |
typedef Filter< T, InputIterator, OutputIterator > ::TParam | TParam |
typedef Filter< T, InputIterator, OutputIterator > ::TReference | TReference |
typedef Filter< T, InputIterator, OutputIterator > ::TConstReference | TConstReference |
typedef Filter< T, InputIterator, OutputIterator > ::TInputIterator | TInputIterator |
typedef Filter< T, InputIterator, OutputIterator > ::TOutputIterator | TOutputIterator |
typedef Filter< T, InputIterator, OutputIterator > ::TNumTraits | TNumTraits |
typedef std::vector< T > | TValues |
Public Member Functions | |
FirFilter (const TValues &impulseResponse) | |
TOutputIterator | operator() (TInputIterator first, TInputIterator last, TOutputIterator output) |
void | reset () |
Private Types | |
typedef std::vector< size_t > | TIndexTable |
Private Member Functions | |
TOutputIterator | doFilter (TInputIterator first, TInputIterator last, TOutputIterator output) |
void | doReset () |
Private Attributes | |
TValues | taps_ |
TValues | buffer_ |
TIndexTable | nextIndex_ |
size_t | tapSize_ |
size_t | bufferIndex_ |
Definition at line 81 of file filters.h.
typedef Filter<T, InputIterator, OutputIterator>::TValue lass::num::FirFilter< T, InputIterator, OutputIterator >::TValue |
Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.
typedef Filter<T, InputIterator, OutputIterator>::TParam lass::num::FirFilter< T, InputIterator, OutputIterator >::TParam |
Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.
typedef Filter<T, InputIterator, OutputIterator>::TReference lass::num::FirFilter< T, InputIterator, OutputIterator >::TReference |
Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.
typedef Filter<T, InputIterator, OutputIterator>::TConstReference lass::num::FirFilter< T, InputIterator, OutputIterator >::TConstReference |
Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.
typedef Filter<T, InputIterator, OutputIterator>::TInputIterator lass::num::FirFilter< T, InputIterator, OutputIterator >::TInputIterator |
Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.
typedef Filter<T, InputIterator, OutputIterator>::TOutputIterator lass::num::FirFilter< T, InputIterator, OutputIterator >::TOutputIterator |
Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.
typedef Filter<T, InputIterator, OutputIterator>::TNumTraits lass::num::FirFilter< T, InputIterator, OutputIterator >::TNumTraits |
Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.
typedef std::vector<T> lass::num::FirFilter< T, InputIterator, OutputIterator >::TValues |
typedef std::vector<size_t> lass::num::FirFilter< T, InputIterator, OutputIterator >::TIndexTable [private] |
lass::num::FirFilter< T, InIt, OutIt >::FirFilter | ( | const TValues & | impulseResponse | ) | [inline] |
FirFilter< T, InIt, OutIt >::TOutputIterator lass::num::FirFilter< T, InIt, OutIt >::doFilter | ( | TInputIterator | first, | |
TInputIterator | last, | |||
TOutputIterator | output | |||
) | [inline, private] |
Definition at line 158 of file filters.inl.
References lass::num::FirFilter< T, InputIterator, OutputIterator >::buffer_, lass::num::FirFilter< T, InputIterator, OutputIterator >::bufferIndex_, lass::num::FirFilter< T, InputIterator, OutputIterator >::nextIndex_, lass::stde::T, lass::num::FirFilter< T, InputIterator, OutputIterator >::taps_, lass::num::FirFilter< T, InputIterator, OutputIterator >::tapSize_, and lass::num::NumTraits< C >::zero.
void lass::num::FirFilter< T, InIt, OutIt >::doReset | ( | ) | [inline, private, virtual] |
Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.
Definition at line 179 of file filters.inl.
References lass::num::FirFilter< T, InputIterator, OutputIterator >::buffer_, and lass::num::NumTraits< C >::zero.
TOutputIterator lass::num::Filter< T, InputIterator, OutputIterator >::operator() | ( | TInputIterator | first, | |
TInputIterator | last, | |||
TOutputIterator | output | |||
) | [inline, inherited] |
Definition at line 62 of file filters.h.
References lass::num::Filter< T, InputIterator, OutputIterator >::doFilter().
void lass::num::Filter< T, InputIterator, OutputIterator >::reset | ( | ) | [inline, inherited] |
Definition at line 63 of file filters.h.
References lass::num::Filter< T, InputIterator, OutputIterator >::doReset().
Referenced by lass::num::FirFilter< T, InputIterator, OutputIterator >::FirFilter(), and lass::num::IirFilter< T, InputIterator, OutputIterator >::IirFilter().
TValues lass::num::FirFilter< T, InputIterator, OutputIterator >::taps_ [private] |
Definition at line 101 of file filters.h.
Referenced by lass::num::FirFilter< T, InputIterator, OutputIterator >::doFilter().
TValues lass::num::FirFilter< T, InputIterator, OutputIterator >::buffer_ [private] |
Definition at line 102 of file filters.h.
Referenced by lass::num::FirFilter< T, InputIterator, OutputIterator >::doFilter(), and lass::num::FirFilter< T, InputIterator, OutputIterator >::doReset().
TIndexTable lass::num::FirFilter< T, InputIterator, OutputIterator >::nextIndex_ [private] |
Definition at line 103 of file filters.h.
Referenced by lass::num::FirFilter< T, InputIterator, OutputIterator >::doFilter(), and lass::num::FirFilter< T, InputIterator, OutputIterator >::FirFilter().
size_t lass::num::FirFilter< T, InputIterator, OutputIterator >::tapSize_ [private] |
Definition at line 104 of file filters.h.
Referenced by lass::num::FirFilter< T, InputIterator, OutputIterator >::doFilter(), and lass::num::FirFilter< T, InputIterator, OutputIterator >::FirFilter().
size_t lass::num::FirFilter< T, InputIterator, OutputIterator >::bufferIndex_ [private] |
Definition at line 105 of file filters.h.
Referenced by lass::num::FirFilter< T, InputIterator, OutputIterator >::doFilter().
Generated on Mon Nov 10 14:22:10 2008 for Library of Assembled Shared Sources by 1.5.7.1 |