Skip to main content

convolve1d

Function convolve1d 

Source
pub fn convolve1d(signal: &[f64], kernel: &[f64]) -> Vec<f64>
Expand description

1-D convolution of signal with kernel (full output, length = signal+kernel-1).

This CPU mock mimics the tiled convolution pattern used in GPU compute shaders where each work-group processes one tile with halo elements.