Contents

convolve(_:rowCount:columnCount:with3x3Kernel:)

Returns the 2D convolution of a double-precision vector with a 3 x 3 kernel.

Declaration

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

See Also

Fixed-Size Kernel