Skip to content

Class short_fir_state

class short_fir_state<tapcount, T, U> dsp

template <size_t tapcount, typename T, typename U = T>
struct short_fir_state { … }

State for a short FIR filter (tap count in range 2..33).

Template parameters
tapcount Number of taps (rounded up to the next valid internal size).
T Coefficient type.
U Sample/value type (defaults to T). May differ from T, e.g. for complex-valued samples with real taps.

function short_fir_state<tapcount, T, U>(const univector<T, N> &)

template <size_t N>
short_fir_state(const univector<T, N>& taps)

Construct from a runtime-sized tap vector.

Template parameters
N Size of the input tap vector.
Parameters
taps Filter coefficients (zero-padded to tapcount ).

Fully qualified name: kfr::short_fir_state<tapcount, T, U>::short_fir_state<tapcount, T, U>(const univector<T, N> &)

Declared at dsp/fir.hpp:69

function short_fir_state<tapcount, T, U>(const univector<const T, N> &)

template <size_t N>
short_fir_state(const univector<const T, N>& taps)

Construct from a runtime-sized tap vector (const data variant).

Template parameters
N Size of the input tap vector.
Parameters
taps Filter coefficients (zero-padded to tapcount ).

Fully qualified name: kfr::short_fir_state<tapcount, T, U>::short_fir_state<tapcount, T, U>(const univector<const T, N> &)

Declared at dsp/fir.hpp:79

variable taps

vec<T, tapcount> taps

Filter coefficients (zero-padded).

Fully qualified name: kfr::short_fir_state<tapcount, T, U>::taps

Declared at dsp/fir.hpp:83

variable delayline

vec<U, tapcount - 1> delayline

Delay line holding the last

tapcount - 1 samples.

Fully qualified name: kfr::short_fir_state<tapcount, T, U>::delayline

Declared at dsp/fir.hpp:84

Fully qualified name: kfr::short_fir_state<tapcount, T, U>

Declared at dsp/fir.hpp:61

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.