---
title: factor
framework: accelerate
role: symbol
role_heading: Instance Property
path: accelerate/sparseopaquesubfactor_float/factor
---

# factor

A semi-opaque type representing a matrix factorization in float.

## Declaration

```swift
var factor: SparseOpaqueFactorization_Float
```

## Discussion

Discussion Use the SparseCleanup function to free resources held by these objects. The object can be in one of the following states: Something went wrong with symbolic factorization, nothing is valid. indicated by .symbolicFactorization.status < 0 Symbolic factorization was good, but failed in numeric factorization initialization. indicated by .symbolicFactorization.status >= 0 && .status < 0 && .numericFactorization == NULL symbolic factorization may be used for future calls. Symbolic factorization was good, factor allocated/initialized correctly, but numeric factorization failed e.g. a Cholesky factorization of an indefinite matrix was attempted. indicated by .symbolicFactorization.status >= 0 && .status < 0 && .numericFactorization not NULL user may pass this object to SparseRefactor_Double with a modified matrix Symbolic and numeric factorizations are both good indicated by .status >= 0
