<!--
{
  "availability" : [
    "iOS: 18.5.0 -",
    "iPadOS: 18.5.0 -",
    "macCatalyst: 18.5.0 -",
    "macOS: 15.5.0 -",
    "tvOS: 18.5.0 -",
    "visionOS: 2.5.0 -",
    "watchOS: 11.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/SparseMultiplyAdd(_:_:_:)-6qi0p",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@F@SparseMultiplyAdd#$@SA@SparseMatrix_Complex_Double#$@SA@DenseVector_Complex_Double#S1_#"
  },
  "title" : "SparseMultiplyAdd(_:_:_:)"
}
-->

# SparseMultiplyAdd(_:_:_:)

Performs `y += Ax` for complex double values

```
func SparseMultiplyAdd(_ A: SparseMatrix_Complex_Double, _ x: DenseVector_Complex_Double, _ y: DenseVector_Complex_Double)
```

## Discussion

- Parameter `A`: (input) sparse matrix.
- Parameter `x`: (input) dense vector.
- Parameter `y`: (output) dense vector.

---

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)