function filtfilt(univector<T, Tag> &, const iir_params<T, Itag> &) biquad¶
template <typename T, univector_tag Tag, size_t Itag>
KFR_FUNCTION void filtfilt(univector<T, Tag>& arr, const iir_params<T, Itag>& params) Applies forward and backward filtering to the input array using the given IIR filter parameters.
This function performs zero-phase filtering by first applying the IIR filter in the forward direction and then applying it again in the reverse direction. The result is a filtered signal with minimal phase distortion.
| T | The data type of the elements in the input array. |
| Tag | The tag type associated with the input array. |
| Itag | The tag type associated with the IIR filter parameters. |
| arr | The input array to be filtered. This array is modified in-place to store the filtered result. |
| params | The IIR filter parameters used for filtering the input array. |
Defined at dsp/biquad.hpp:424