Logo Search packages:      
Sourcecode: hamfax version File versions  Download package

FirFilter< T > Class Template Reference

#include <FirFilter.hpp>

List of all members.

Detailed Description

template<class T>
class FirFilter< T >

This template class implements a FIR filter (finite impulse response). The template parameter defines the type of input and output data.

Definition at line 29 of file FirFilter.hpp.

Public Member Functions

filterSample (const T &sample)
 FirFilter (const size_t n)
std::valarray< T > getBuffer () const
void setBuffer (const std::valarray< T > &b)
void setCoeffs (const std::valarray< T > &c)
size_t size () const

Private Attributes

std::valarray< T > buffer
std::valarray< T > coeffs
T * current

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

Generated by  Doxygen 1.6.0   Back to index