<!--
{
  "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/SparseMultiply(_:_:_:)-1sjuk",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@F@SparseMultiply#$@SA@SparseMatrix_Complex_Double#$@SA@DenseMatrix_Complex_Double#S1_#"
  },
  "title" : "SparseMultiply(_:_:_:)"
}
-->

# SparseMultiply(_:_:_:)

Performs the multiplication `Y = AX` for complex double values.

```
func SparseMultiply(_ A: SparseMatrix_Complex_Double, _ X: DenseMatrix_Complex_Double, _ Y: DenseMatrix_Complex_Double)
```

## Parameters

`A`

(input) sparse matrix.

`X`

(input) dense matrix. Inner dimensions of `A` and `X` must match.

`Y`

(output) dense matrix. Dimensions must match the outer dimensions
of `A` and `X`. Overwritten with their product.

---

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)