Arduino Filters master
Filter library for Arduino
Classes | Typedefs
BiQuad.hpp File Reference
#include <AH/Containers/Array.hpp>
#include <AH/STL/cmath>
#include <Filters/TransferFunction.hpp>
+ Include dependency graph for BiQuad.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NormalizingBiQuadFilterDF1< T >
 BiQuad filter Direct Form 1 implementation that normalizes the coefficients upon initialization. More...
 
class  NonNormalizingBiQuadFilterDF1< T >
 BiQuad filter Direct Form 1 implementation that does not normalize the coefficients upon initialization, the division by \( a_0 \) is carried out on each filter iteration. More...
 
class  BiQuadFilterDF1< T >
 Generic BiQuad (Bi-Quadratic) filter class, Direct Form 1 implementation. More...
 
class  NormalizingBiQuadFilterDF2< T >
 BiQuad filter Direct Form 2 implementation that normalizes the coefficients upon initialization. More...
 
class  NonNormalizingBiQuadFilterDF2< T >
 BiQuad filter Direct Form 2 implementation that does not normalize the coefficients upon initialization, the division by \( a_0 \) is carried out on each filter iteration. More...
 
class  BiQuadFilterDF2< T >
 Generic BiQuad (Bi-Quadratic) filter class, Direct Form 2 implementation. More...
 

Typedefs

template<class T = float>
using BiQuadCoefficients = TransferFunction< 3, 3, T >
 BiQuadratic transfer function coefficients. More...
 
template<class T >
using BiQuadDF1Implementation = typename std::conditional< std::is_floating_point< T >::value, NormalizingBiQuadFilterDF1< T >, NonNormalizingBiQuadFilterDF1< T > >::type
 Select the NormalizingIIRFilter implementation if T is a floating point type, NonNormalizingIIRFilter otherwise. More...
 
template<class T >
using BiQuadDF2Implementation = typename std::conditional< std::is_floating_point< T >::value, NormalizingBiQuadFilterDF2< T >, NonNormalizingBiQuadFilterDF2< T > >::type
 Select the NormalizingIIRFilter implementation if T is a floating point type, NonNormalizingIIRFilter otherwise. More...
 

Typedef Documentation

◆ BiQuadDF1Implementation

using BiQuadDF1Implementation = typename std::conditional<std::is_floating_point<T>::value, NormalizingBiQuadFilterDF1<T>, NonNormalizingBiQuadFilterDF1<T> >::type

Select the NormalizingIIRFilter implementation if T is a floating point type, NonNormalizingIIRFilter otherwise.

Definition at line 198 of file BiQuad.hpp.

◆ BiQuadDF2Implementation

using BiQuadDF2Implementation = typename std::conditional<std::is_floating_point<T>::value, NormalizingBiQuadFilterDF2<T>, NonNormalizingBiQuadFilterDF2<T> >::type

Select the NormalizingIIRFilter implementation if T is a floating point type, NonNormalizingIIRFilter otherwise.

Definition at line 462 of file BiQuad.hpp.