---
title: "SparseMultiply(_:_:_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/sparsemultiply(_:_:_:)-1sjuk"
---

# SparseMultiply(_:_:_:)

Performs the multiplication Y = AX for complex double values.

## Declaration

```swift
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.

## See Also

### Complex multiplication functions

- [SparseMultiply(_:_:_:)](accelerate/sparsemultiply(_:_:_:)-85a24.md)
