---
title: "init(control:scalingMethod:scaling:pivotTolerance:zeroTolerance:)"
framework: accelerate
role: symbol
role_heading: Initializer
path: "accelerate/sparsenumericfactoroptions/init(control:scalingmethod:scaling:pivottolerance:zerotolerance:)"
---

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

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

## Declaration

```swift
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

Discussion note: Only the symmetric factorization algorithms use the pivotTolerance and zeroTolerance parameters. SparseFactorizationQR ignores the pivot and zero tolerance values.

## See Also

### Creating a Numeric Factor Options Stucture

- [init()](accelerate/sparsenumericfactoroptions/init().md)
