PandA-2024.02
Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes
firFixedClass< filter_len > Class Template Reference

Public Member Functions

short int operator() (short int input)
 
 firFixedClass ()
 

Static Private Member Functions

static constexpr short int compute_coeff (size_t index)
 
template<std::size_t... I>
static constexpr std::array< short int, sizeof...(I)> coeff_fill (std::index_sequence< I... >)
 
template<std::size_t N>
static constexpr std::array< short int, Ncoeff_fill ()
 

Private Attributes

int16_t insamp [filter_len]
 

Static Private Attributes

static const ::std::array< short int, filter_len > coeffs = coeff_fill<filter_len>()
 filter coefficients More...
 

Detailed Description

template<int filter_len>
class firFixedClass< filter_len >

Definition at line 26 of file coef1.cpp.

Constructor & Destructor Documentation

◆ firFixedClass()

template<int filter_len>
firFixedClass< filter_len >::firFixedClass ( )
inline

Definition at line 93 of file coef1.cpp.

Member Function Documentation

◆ coeff_fill() [1/2]

template<int filter_len>
template<std::size_t... I>
static constexpr std::array<short int, sizeof...(I)> firFixedClass< filter_len >::coeff_fill ( std::index_sequence< I... >  )
inlinestaticprivate

Definition at line 42 of file coef1.cpp.

References array, and firFixedClass< filter_len >::compute_coeff().

Here is the call graph for this function:

◆ coeff_fill() [2/2]

template<int filter_len>
template<std::size_t N>
static constexpr std::array<short int, N> firFixedClass< filter_len >::coeff_fill ( )
inlinestaticprivate

Definition at line 47 of file coef1.cpp.

◆ compute_coeff()

template<int filter_len>
static constexpr short int firFixedClass< filter_len >::compute_coeff ( size_t  index)
inlinestaticprivate

Definition at line 28 of file coef1.cpp.

Referenced by firFixedClass< filter_len >::coeff_fill().

Here is the caller graph for this function:

◆ operator()()

template<int filter_len>
short int firFixedClass< filter_len >::operator() ( short int  input)
inline

Definition at line 62 of file coef1.cpp.

References input, k, and output.

Field Documentation

◆ coeffs

template<int filter_len>
constexpr const ::std::array< short int, filter_len > firFixedClass< filter_len >::coeffs = coeff_fill<filter_len>()
staticprivate

filter coefficients

Definition at line 53 of file coef1.cpp.

◆ insamp

template<int filter_len>
int16_t firFixedClass< filter_len >::insamp[filter_len]
private

Definition at line 56 of file coef1.cpp.


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

Generated on Mon Feb 12 2024 13:03:51 for PandA-2024.02 by doxygen 1.8.13