Contents

convolve(_:rowCount:columnCount:withKernel:kernelRowCount:kernelColumnCount:)

Returns the 2D convolution of a double-precision vector with an arbitrarily sized kernel.

Declaration

static func convolve<T, U>(_ vector: T, rowCount: Int, columnCount: Int, withKernel kernel: U, kernelRowCount: Int, kernelColumnCount: Int) -> [Double] where T : AccelerateBuffer, U : AccelerateBuffer, T.Element == Double, U.Element == Double

See Also

Arbitrary-Size Kernel