<!--
{
  "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/SparseFactor(_:_:_:_:)-6hqfp",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@F@SparseFactor#$@EA@SparseFactorization_t#$@SA@SparseMatrix_Complex_Double#$@SA@SparseSymbolicFactorOptions#$@SA@SparseNumericFactorOptions#"
  },
  "title" : "SparseFactor(_:_:_:_:)"
}
-->

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

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

```
func SparseFactor(_ type: SparseFactorization_t, _ Matrix: SparseMatrix_Complex_Double, _ options: SparseSymbolicFactorOptions, _ nfoptions: SparseNumericFactorOptions) -> SparseOpaqueFactorization_Complex_Double
```

## Parameters

`type`

The type of factorization to perform.

`Matrix`

The matrix to factorize.

`nfoptions`

Numeric factor options, for example pivoting parameters.

## Return Value

Factorization of Matrix.

---

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)