Arduino Filters master
Filter library for Arduino
TransferFunction.hpp
Go to the documentation of this file.
1#pragma once
2
5
7
16template <size_t NB, size_t NA = NB, class T = float>
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
Class for transfer function coefficients.
AH::Array< T, NB > b
TransferFunction(const AH::Array< T, NB > &b, const AH::Array< T, NA > &a)
Construct a new Transfer Function object.
AH::Array< T, NA > a
TransferFunction()=default