<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/SparseCreateSubfactor(_:_:)-4renf",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@F@SparseCreateSubfactor#$@EA@SparseSubfactor_t#$@SA@SparseOpaqueFactorization_Float#"
  },
  "title" : "SparseCreateSubfactor(_:_:)"
}
-->

# SparseCreateSubfactor(_:_:)

Returns an opaque object that represents a subfactor of a factorization of a matrix of single-precision values.

```
func SparseCreateSubfactor(_ subfactor: SparseSubfactor_t, _ Factor: SparseOpaqueFactorization_Float) -> SparseOpaqueSubfactor_Float
```

## Parameters

`subfactor`

Defines which subfactor to extract.

`Factor`

The factorization to extract the subfactor from.

## Return Value

A `SparseOpaqueSubfactor_Float` structure that represents the subfactor. You must free the resource through a call to [`SparseCleanup(_:)`](/documentation/Accelerate/SparseCleanup(_:)-15kpj) after you finish with the object.

---

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)