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

# vDSP_zvmaD

Adds a double-precision complex vector to the product of two double-precision complex vectors.

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

## Parameters

`__A`

Double-precision complex input vector.

`__IA`

Stride for the `A`.

`__B`

Double-precision complex input vector.

`__IB`

Stride for `B`.

`__C`

Double-precision complex input vector.

`__IC`

Stride for `C`.

`__D`

Double-precision complex output vector.

`__ID`

Stride for `D`.

`__N`

Number of elements to process in each of the input and output vectors.

## Discussion

This function multiplies the first `N` complex elements 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_zvma function. There are five rows. The top two rows represents the first two inputs, vector A and vector B. The third row represents the intermediate result of the first two inputs. The forth row represents the third input, vector C. The bottom row represents the output, vector D. The diagram has connecting lines from the input vectors to the output vector indicating the relationships between the inputs and output.](images/com.apple.accelerate/media-3214016@2x.png)

The operation is:

```swift
 for (n = 0; n < N; ++n)
    D[n] = 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)