# [−][src]Function arrayfire::convolve2

pub fn convolve2<T, F>(    signal: &Array<T>,     filter: &Array<F>,     mode: ConvMode,     domain: ConvDomain) -> Array<T> where    T: HasAfEnum,    F: HasAfEnum,

2d convolution

# Parameters

• signal is the input signal
• filter is the signal that shall be flipped for convolution operation
• mode indicates if the convolution should be expanded or not(where output size equals input). It takes a value of type ConvMode
• domain indicates if the convolution should be performed in frequencey or spatial domain. It takes a value of type ConvDomain

Convolved Array