<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.0.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/vDSP_zvcma",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@F@vDSP_zvcma"
  },
  "title" : "vDSP_zvcma"
}
-->

# vDSP_zvcma

Adds a single-precision complex vector to the product of a single-precision complex vector and the conjugate of another complex single-precision vector.

```
extern void vDSP_zvcma(const DSPSplitComplex *__A, vDSP_Stride __IA, const DSPSplitComplex *__B, vDSP_Stride __IB, const DSPSplitComplex *__C, vDSP_Stride __IC, const DSPSplitComplex *__D, vDSP_Stride __ID, vDSP_Length __N);
```

## Parameters

`__A`

Single-precision complex input vector.

`__IA`

Stride for `A`.

`__B`

Single-precision complex input vector.

`__IB`

Stride for `B`.

`__C`

Single-precision complex input vector.

`__IC`

Stride for `C`.

`__D`

Single-precision complex output vector.

`__ID`

Stride for `D`.

`__N`

Number of elements.

## Discussion

This function multiplies of the first `N` complex conjugates of `A` by the corresponding complex elements of `B`, adds each product to the corresponding value in `C`, and writes the result to `D`:

![A diagram showing the operation of the vDSP_zvcma function. The top row represents the first input, vector A. The second row represents the second input, vector B. The third row represents the product of the elements of vectors A and B. The forth row represents the third input, C. The fifth row represents the sum of the products and elements of C.](images/com.apple.accelerate/media-3214023@2x.png)

The operation is:

```swift
for (n = 0; n < N; ++n)
      D[n] = conj(A[n]) * B[n] + C[n];
```

---

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)