pub fn convolution_matrix<T: Scalar>( a: &[T], n: usize, mode: ConvolutionMode, ) -> Result<Array2<T>>
The matrix M with M v = convolve(a, v) for vectors v of length n (SciPy’s convolution_matrix).
M
M v = convolve(a, v)
v
n
convolution_matrix