In the octave, the open-source MatLab clone, you can use its implementation (but most likely you will need to use its special matrix type).
A search for "C ++ IIR filter" finds a bunch of other projects, such as:
There are also many books on this subject, for example:
In general, the implementation of the IIR filter is very simple. Excessive reliability and efficient use of your computer equipment is more complicated, but they require knowledge of your specific application (for example, re-sampling, etc.), therefore they are not suitable for implementing libraries.
Ben voigt
source share