pub fn convolve(input: &Array1<f64>, kernel: &Array1<f64>) -> Array1<f64>
FFT-based convolution (same-size output).