Arduino Filters
master
Filter library for Arduino
src
Filters
TransferFunction.hpp
Go to the documentation of this file.
1
#pragma once
2
5
6
#include <
AH/Containers/Array.hpp
>
7
16
template
<
size_t
NB,
size_t
NA = NB,
class
T =
float
>
17
struct
TransferFunction
{
18
TransferFunction
() =
default
;
19
21
TransferFunction
(
const
AH::Array<T, NB> &
b
,
const
AH::Array<T, NA> &
a
)
22
:
b
(
b
),
a
(
a
) {}
23
24
AH::Array<T, NB>
b
= {{}};
25
AH::Array<T, NA>
a
= {{}};
26
};
27
28
Array.hpp
TransferFunction
Class for transfer function coefficients.
Definition:
TransferFunction.hpp:17
TransferFunction::b
AH::Array< T, NB > b
Definition:
TransferFunction.hpp:24
TransferFunction::TransferFunction
TransferFunction(const AH::Array< T, NB > &b, const AH::Array< T, NA > &a)
Construct a new Transfer Function object.
Definition:
TransferFunction.hpp:21
TransferFunction::a
AH::Array< T, NA > a
Definition:
TransferFunction.hpp:25
TransferFunction::TransferFunction
TransferFunction()=default
Generated by
1.9.4