Function short_fir¶
function short_fir(E1 &&, const univector<T, TapCount> &) dsp¶
template <typename T, size_t TapCount, typename E1,
size_t InternalTapCount = next_poweroftwo(TapCount - 1) + 1, typename U = expression_value_type<E1>>
KFR_INTRINSIC expression_short_fir<InternalTapCount, T, U, E1, false> short_fir(
E1&& e1, const univector<T, TapCount>& taps) Returns template expression that applies a short FIR filter to the input (tap count must be in range 2..33).
| T | Coefficient type. |
| TapCount | Number of taps (2..33). |
| E1 | Input expression type. |
| InternalTapCount | Padded internal tap count (auto-derived). |
| U | Sample/value type (may be complex). |
| e1 | An input expression. |
| taps | Filter coefficients. |
Fully qualified name: kfr::short_fir(E1 &&, const univector<T, TapCount> &)
Declared at dsp/fir.hpp:589
Function short_fir¶
function short_fir(E1 &&, std::reference_wrapper<short_fir_state<TapCount, T, U>>) dsp¶
template <typename T, size_t TapCount, typename E1, typename U>
KFR_INTRINSIC expression_short_fir<TapCount, T, U, E1, true> short_fir(
E1&& e1, std::reference_wrapper<short_fir_state<TapCount, T, U>> state) Returns template expression that applies a short FIR filter to the input (tap count must be in range 2..33).
| T | Coefficient type. |
| TapCount | Number of taps (2..33). |
| E1 | Input expression type. |
| U | Sample/value type (may be complex). |
| e1 | An input expression. |
| state | Filter state (state is referenced, ensure proper lifetime). |
Fully qualified name: kfr::short_fir(E1 &&, std::reference_wrapper<short_fir_state<TapCount, T, U>>)
Declared at dsp/fir.hpp:611
Function short_fir¶
function short_fir(short_fir_state<InternalTapCount, T, U> &, E1 &&) dsp¶
template <size_t TapCount, size_t InternalTapCount = next_poweroftwo(TapCount - 1) + 1, typename T,
typename U, typename E1>
[[deprecated("short_fir(state, expr) is deprecated, use short_fir(expr, std::ref(state))")]] KFR_INTRINSIC
expression_short_fir<InternalTapCount, T, expression_value_type<E1>, E1, true>
short_fir(short_fir_state<InternalTapCount, T, U>& state, E1&& e1) Returns template expression that applies a short FIR filter to the input (tap count must be in range 2..33).
Deprecated
Use short_fir(expr, std::ref(state)) instead.
| TapCount | Number of taps. |
| InternalTapCount | Padded internal tap count (auto-derived). |
| T | Coefficient type. |
| U | Sample/value type. |
| E1 | Input expression type. |
| state | Filter state. |
| e1 | An input expression. |
Fully qualified name: kfr::short_fir(short_fir_state<InternalTapCount, T, U> &, E1 &&)
Declared at dsp/fir.hpp:635
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.