pub fn convolve<K: AsRef<[f64]>, D: AsRef<[f64]>>( kernel: K, data: D, ) -> Vec<f64>
Performs the discrete convolution function. Convolves the provided kernel against the provided data.