---
title: "SparseFactor(_:_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/sparsefactor(_:_:)-55tzk"
---

# SparseFactor(_:_:)

Returns a symbolic factorization of the requested type for a complex matrix with the given structure.

## Declaration

```swift
func SparseFactor(_ type: SparseFactorization_t, _ Matrix: SparseMatrixStructureComplex) -> SparseOpaqueSymbolicFactorization
```

## Parameters

- `type`: The type of factorization to perform.
- `Matrix`: The structure of the sparse matrix to be factorized.

## Return Value

Return Value The requested symbolic factorization of Matrix.

## Discussion

Discussion The resulting symbolic factorization may be used for multiple numerical factorizations with different numerical values but the same non-zero structure.

## See Also

### Complex matrix factorization functions

- [SparseFactor(_:_:)](accelerate/sparsefactor(_:_:)-1avkp.md)
- [SparseFactor(_:_:)](accelerate/sparsefactor(_:_:)-5zzpu.md)
- [SparseFactor(_:_:)](accelerate/sparsefactor(_:_:)-73n38.md)
