<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/vDSP/convolve(_:rowCount:columnCount:with3x3Kernel:result:)-2worq",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:10Accelerate4vDSPO8convolve_8rowCount06columnE013with3x3Kernel6resultyx_S2iq_q0_ztAA0A6BufferRzAaIR_AA0a7MutableJ0R0_Sf7ElementRtzSfAKRt_SfAKRt0_r1_lFZ"
  },
  "title" : "convolve(_:rowCount:columnCount:with3x3Kernel:result:)"
}
-->

# convolve(_:rowCount:columnCount:with3x3Kernel:result:)

Calculates the 2D convolution of a single-precision vector with a 3 x 3 kernel.

```
static func convolve<T, U, V>(_ vector: T, rowCount: Int, columnCount: Int, with3x3Kernel kernel: U, result: inout V) where T : AccelerateBuffer, U : AccelerateBuffer, V : AccelerateMutableBuffer, T.Element == Float, U.Element == Float, V.Element == Float
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)