Contents

correlate(_:withKernel:)

Returns the correlation of a double-precision signal vector and a filter vector.

Declaration

static func correlate<T, U>(_ vector: T, withKernel kernel: U) -> [Double] where T : AccelerateBuffer, U : AccelerateBuffer, T.Element == Double, U.Element == Double

Parameters

  • vector:

    The input signal vector.

  • kernel:

    The filter vector.

Return Value

The correlation result.

See Also

Real Vectors