fft_convolve1

Function fft_convolve1 

Source
pub fn fft_convolve1<T, F>(
    signal: &Array<T>,
    filter: &Array<F>,
    mode: ConvMode,
) -> Array<T>
where T: HasAfEnum, F: HasAfEnum,
Expand description

1d convolution using fast-fourier transform

§Parameters

  • signal is the input signal
  • filter is the signal that shall be used for convolution operation
  • mode indicates if the convolution should be expanded or not(where output size equals input). It takes values of type ConvMode

§Return Values

Convolved Array