<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/SparseNumericFactorOptions/init(control:scalingMethod:scaling:pivotTolerance:zeroTolerance:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:So26SparseNumericFactorOptionsa7control13scalingMethod0F014pivotTolerance04zeroI0ABSo0A9Control_ta_So0A9Scaling_taSvSgS2dtcfc"
  },
  "title" : "init(control:scalingMethod:scaling:pivotTolerance:zeroTolerance:)"
}
-->

# init(control:scalingMethod:scaling:pivotTolerance:zeroTolerance:)

Returns a new numeric factor options structure with the specified properties.

```
init(control: SparseControl_t, scalingMethod: SparseScaling_t, scaling: UnsafeMutableRawPointer?, pivotTolerance: Double, zeroTolerance: Double)
```

## Parameters

`control`

The flags that control the computation.

`scalingMethod`

The scaling method.

`scaling`

An array that scales the matrix before factorization.

`pivotTolerance`

The pivot tolerance that threshold partial pivoting uses.

`zeroTolerance`

The zero tolerance that some pivoting modes use.

## Discussion

> Note:
> Only the symmetric factorization algorithms use the ``doc://com.apple.accelerate/documentation/Accelerate/SparseNumericFactorOptions/pivotTolerance`` and ``doc://com.apple.accelerate/documentation/Accelerate/SparseNumericFactorOptions/zeroTolerance`` parameters. ``doc://com.apple.accelerate/documentation/Accelerate/SparseFactorizationQR`` ignores the pivot and zero tolerance values.

---

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)