Function convolve
Source pub fn convolve<F: Float + FftNum>(
in1: &[F],
in2: &[F],
mode: ConvolveMode,
) -> Vec<F>
Expand description
Compute the convolution of two signals using FFT.
§Arguments
in1 - First input array
in2 - Second input array
§Returns
A Vec containing the convolution of in1 with in2.
With Full mode, the output length will be in1.len() + in2.len() - 1.