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

# SparseFactor(_:_:_:_:)

Returns the specified factorization of a sparse matrix of complex float values, using the specified options.

## Declaration

```swift
func SparseFactor(_ type: SparseFactorization_t, _ Matrix: SparseMatrix_Complex_Float, _ options: SparseSymbolicFactorOptions, _ nfoptions: SparseNumericFactorOptions) -> SparseOpaqueFactorization_Complex_Float
```

## Parameters

- `type`: The type of factorization to perform.
- `Matrix`: The matrix to factorize.
- `nfoptions`: Numeric factor options, for example pivoting parameters.

## Return Value

Return Value Factorization of Matrix.

## See Also

### Complex factorization functions

- [SparseFactor(_:_:)](accelerate/sparsefactor(_:_:)-7a3l4.md)
- [SparseFactor(_:_:_:)](accelerate/sparsefactor(_:_:_:)-6s9g.md)
- [SparseFactor(_:_:_:)](accelerate/sparsefactor(_:_:_:)-7kqvi.md)
- [SparseFactor(_:_:_:)](accelerate/sparsefactor(_:_:_:)-9ypz5.md)
- [SparseFactor(_:_:_:_:)](accelerate/sparsefactor(_:_:_:_:)-6hqfp.md)
- [SparseFactor(_:_:_:_:_:)](accelerate/sparsefactor(_:_:_:_:_:)-2dqfv.md)
- [SparseFactor(_:_:_:_:_:)](accelerate/sparsefactor(_:_:_:_:_:)-7j0dm.md)
