convolve(_:withKernel:)
Returns the 1D convolution of a double-precision vector.
Declaration
static func convolve<T, U>(_ vector: T, withKernel kernel: U) -> [Double] where T : AccelerateBuffer, U : AccelerateBuffer, T.Element == Double, U.Element == DoubleParameters
- vector:
The input signal vector.
- kernel:
The filter vector.
Return Value
The convolution result.