Skip to main content

convolve_fir

Function convolve_fir 

Source
pub fn convolve_fir(signal: &[f32], h: &[f32]) -> Vec<f32>
Expand description

Direct linear (FIR) convolution: y[i] = Σ_j signal[j]·h[i-j].

Output length is signal.len() + h.len() - 1. Either operand empty → empty.