Function goertzel¶
function goertzel(complex<T> &, std::type_identity_t<T>) dsp¶
template <typename T>
KFR_INTRINSIC expression_goertzel<T> goertzel(complex<T>& result, std::type_identity_t<T> omega) Create a single-bin Goertzel expression.
| T | Sample and result type. |
| result | Reference receiving the complex bin value. |
| omega | Target angular frequency [rad/sample]. |
A Goertzel expression to feed to process . |
Fully qualified name: kfr::goertzel(complex<T> &, std::type_identity_t<T>)
Declared at dsp/goertzel.hpp:232
Function goertzel¶
function goertzel(complex<T> (&)[width], const T (&)[width]) dsp¶
template <typename T, size_t width>
KFR_INTRINSIC expression_parallel_goertzel<T, width> goertzel(complex<T> (&result)[width],
const T (&omega)[width]) Create width parallel Goertzel expressions.
| T | Sample and result type. |
| width | Number of parallel resonators (deduced from result / omega ). |
| result | Array of width complex values receiving the bin values. |
| omega | C array of width angular frequencies [rad/sample]. |
A parallel Goertzel expression to feed to process . |
Fully qualified name: kfr::goertzel(complex<T> (&)[width], const T (&)[width])
Declared at dsp/goertzel.hpp:251
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.