|
| | IirFilter (const std::vector< double > &a, const std::vector< double > &b) |
| | Constructor of new IirFilter object (coefficients are in the canonical form).
|
|
double | iterate (const double input) |
|
std::tuple< std::vector< double >, std::vector< double > > | getCoeffs () |
|
std::vector< double > | getBuffer () |
◆ IirFilter()
| mrs_lib::IirFilter::IirFilter |
( |
const std::vector< double > & | a, |
|
|
const std::vector< double > & | b ) |
Constructor of new IirFilter object (coefficients are in the canonical form).
- Parameters
-
| a | gains in the feedback branch of the IIR filter be advised that the coefficient a[0] is not used and should be set to zero. |
| b | gains in the feedforward branch, using only this coefficients results in FIR filter |
The documentation for this class was generated from the following files:
- /home/runner/work/mrs_lib/mrs_lib/include/mrs_lib/iir_filter.h
- /home/runner/work/mrs_lib/mrs_lib/src/iir_filter/iir_filter.cpp