#include <Filter.h>
Definition at line 20 of file Filter.h.
◆ Filter() [1/2]
Construct an IIR filter with numerators b and denominators a. The filter will have order b.size()-1. To make an FIR filter, leave the vector a in the param struct empty. Otherwise, a and b must have the same number of values.
◆ ~Filter()
◆ Filter() [2/2]
Filter::Filter |
( |
const Filter & |
| ) |
|
|
private |
◆ getOrder()
int Filter::getOrder |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ process()
void Filter::process |
( |
const double *const __restrict |
in, |
|
|
double *const __restrict |
out, |
|
|
const int |
n |
|
) |
| |
Filter the input sequence
- in of length
- n samples, and write the resulting
- n samples into
- out. There must be enough room in
- out for
- n samples to be written.
◆ reset()
◆ m_a
std::vector<double> Filter::m_a |
|
private |
◆ m_b
std::vector<double> Filter::m_b |
|
private |
◆ m_bufa
std::vector<double> Filter::m_bufa |
|
private |
◆ m_bufb
std::vector<double> Filter::m_bufb |
|
private |
◆ m_fir
◆ m_offa
◆ m_offb
◆ m_offmax
◆ m_order
◆ m_sz
The documentation for this class was generated from the following file: