Skip to main content

convolution_matrix

Function convolution_matrix 

Source
pub fn convolution_matrix<T: Scalar>(
    a: &[T],
    n: usize,
    mode: ConvolutionMode,
) -> Result<Array2<T>>
Expand description

The matrix M with M v = convolve(a, v) for vectors v of length n (SciPy’s convolution_matrix).