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