Class biquad_section¶
class biquad_section<T> dsp¶
template <typename T>
struct biquad_section { … } Structure for holding biquad filter coefficients.
| T | Floating-point element type. |
function biquad_section<T>(const biquad_section<U> &) ¶
template <typename U>
constexpr biquad_section(const biquad_section<U>& bq) noexcept
: a0(static_cast<T>(bq.a0)), a1(static_cast<T>(bq.a1)), a2(static_cast<T>(bq.a2)),
b0(static_cast<T>(bq.b0)), b1(static_cast<T>(bq.b1)), b2(static_cast<T>(bq.b2)) { … } Converting copy constructor.
| bq | Source section whose coefficients are cast to T. |
Fully qualified name: kfr::biquad_section<T>::biquad_section<T>(const biquad_section<U> &)
Declared at dsp/biquad.hpp:80
constructor biquad_section<T>() ¶
Default constructor: produces a pass-through section (a0=b0=1, rest 0).
Fully qualified name: kfr::biquad_section<T>::biquad_section<T>()
Declared at dsp/biquad.hpp:88
constructor biquad_section<T>(T, T, T, T, T, T) ¶
constexpr biquad_section(T a0, T a1, T a2, T b0, T b1, T b2) noexcept
: a0(a0), a1(a1), a2(a2), b0(b0), b1(b1), b2(b2) { … } Construct from explicit coefficient values.
| a0 | Denominator coefficient z^0. |
| a1 | Denominator coefficient z^-1. |
| a2 | Denominator coefficient z^-2. |
| b0 | Numerator coefficient z^0. |
| b1 | Numerator coefficient z^-1. |
| b2 | Numerator coefficient z^-2. |
Fully qualified name: kfr::biquad_section<T>::biquad_section<T>(T, T, T, T, T, T)
Declared at dsp/biquad.hpp:98
variable a0 ¶
T a0 Denominator coefficient z^0
Fully qualified name: kfr::biquad_section<T>::a0
Declared at dsp/biquad.hpp:102
variable a1 ¶
T a1 Denominator coefficient z^-1
Fully qualified name: kfr::biquad_section<T>::a1
Declared at dsp/biquad.hpp:103
variable a2 ¶
T a2 Denominator coefficient z^-2
Fully qualified name: kfr::biquad_section<T>::a2
Declared at dsp/biquad.hpp:104
variable b0 ¶
T b0 Numerator coefficient z^0
Fully qualified name: kfr::biquad_section<T>::b0
Declared at dsp/biquad.hpp:105
variable b1 ¶
T b1 Numerator coefficient z^-1
Fully qualified name: kfr::biquad_section<T>::b1
Declared at dsp/biquad.hpp:106
variable b2 ¶
T b2 Numerator coefficient z^-2
Fully qualified name: kfr::biquad_section<T>::b2
Declared at dsp/biquad.hpp:107
function normalized_a0() ¶
biquad_section<T> normalized_a0() const Returns a section scaled so that a0 == 1.
Fully qualified name: kfr::biquad_section<T>::normalized_a0()
Declared at dsp/biquad.hpp:109
function normalized_b0() ¶
biquad_section<T> normalized_b0() const Returns a section scaled so that b0 == 1.
Fully qualified name: kfr::biquad_section<T>::normalized_b0()
Declared at dsp/biquad.hpp:116
function normalized_all() ¶
biquad_section<T> normalized_all() const Returns a section scaled so that both a0 == 1 and b0 == 1.
Fully qualified name: kfr::biquad_section<T>::normalized_all()
Declared at dsp/biquad.hpp:118
Fully qualified name: kfr::biquad_section<T>
Declared at dsp/biquad.hpp:73