Audio Processing Framework (APF) version 0.5.0
Public Member Functions | Public Attributes | Friends | List of all members
apf::SosCoefficients< T > Struct Template Reference

Coefficients of digital recursive filter (second order section). More...

#include <apf/biquad.h>

Inheritance diagram for apf::SosCoefficients< T >:
Inheritance graph
[legend]

Public Member Functions

 SosCoefficients (T b0_=T(), T b1_=T(), T b2_=T(), T a1_=T(), T a2_=T())
 
SosCoefficientsoperator+= (const SosCoefficients &rhs)
 
SosCoefficients operator+ (const SosCoefficients &rhs) const
 
SosCoefficientsoperator*= (T rhs)
 
SosCoefficients operator* (T rhs) const
 
SosCoefficientsoperator/= (T rhs)
 
SosCoefficients operator/ (T rhs) const
 

Public Attributes

b0
 
b1
 
b2
 
a1
 
a2
 

Friends

SosCoefficients operator* (T lhs, const SosCoefficients &rhs)
 
SosCoefficients operator- (const SosCoefficients &lhs, const SosCoefficients &rhs)
 
std::ostream & operator<< (std::ostream &stream, const SosCoefficients &c)
 

Detailed Description

template<typename T>
struct apf::SosCoefficients< T >

Coefficients of digital recursive filter (second order section).

Template Parameters
TInternal data type

Definition at line 52 of file biquad.h.

Constructor & Destructor Documentation

◆ SosCoefficients()

template<typename T >
apf::SosCoefficients< T >::SosCoefficients ( b0_ = T(),
b1_ = T(),
b2_ = T(),
a1_ = T(),
a2_ = T() 
)
inline

Definition at line 54 of file biquad.h.

Member Function Documentation

◆ operator+=()

template<typename T >
SosCoefficients & apf::SosCoefficients< T >::operator+= ( const SosCoefficients< T > &  rhs)
inline

Definition at line 63 of file biquad.h.

◆ operator+()

template<typename T >
SosCoefficients apf::SosCoefficients< T >::operator+ ( const SosCoefficients< T > &  rhs) const
inline

Definition at line 70 of file biquad.h.

◆ operator*=()

template<typename T >
SosCoefficients & apf::SosCoefficients< T >::operator*= ( rhs)
inline

Definition at line 76 of file biquad.h.

◆ operator*()

template<typename T >
SosCoefficients apf::SosCoefficients< T >::operator* ( rhs) const
inline

Definition at line 83 of file biquad.h.

◆ operator/=()

template<typename T >
SosCoefficients & apf::SosCoefficients< T >::operator/= ( rhs)
inline

Definition at line 89 of file biquad.h.

◆ operator/()

template<typename T >
SosCoefficients apf::SosCoefficients< T >::operator/ ( rhs) const
inline

Definition at line 96 of file biquad.h.

Friends And Related Function Documentation

◆ operator*

template<typename T >
SosCoefficients operator* ( lhs,
const SosCoefficients< T > &  rhs 
)
friend

Definition at line 102 of file biquad.h.

◆ operator-

template<typename T >
SosCoefficients operator- ( const SosCoefficients< T > &  lhs,
const SosCoefficients< T > &  rhs 
)
friend

Definition at line 109 of file biquad.h.

◆ operator<<

template<typename T >
std::ostream & operator<< ( std::ostream &  stream,
const SosCoefficients< T > &  c 
)
friend

Definition at line 115 of file biquad.h.

Member Data Documentation

◆ b0

template<typename T >
T apf::SosCoefficients< T >::b0

Definition at line 60 of file biquad.h.

◆ b1

template<typename T >
T apf::SosCoefficients< T >::b1

Definition at line 60 of file biquad.h.

◆ b2

template<typename T >
T apf::SosCoefficients< T >::b2

Definition at line 60 of file biquad.h.

◆ a1

template<typename T >
T apf::SosCoefficients< T >::a1

Definition at line 61 of file biquad.h.

◆ a2

template<typename T >
T apf::SosCoefficients< T >::a2

Definition at line 61 of file biquad.h.


The documentation for this struct was generated from the following file: