correlate(_:withKernel:)
Returns the correlation of a single-precision signal vector and a filter vector.
Declaration
static func correlate<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 correlation result.