Contents

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 == Float

Parameters

  • vector:

    The input signal vector.

  • kernel:

    The filter vector.

Return Value

The correlation result.

See Also

Real Vectors