---
title: conditionLimit
framework: accelerate
role: symbol
role_heading: Instance Property
path: accelerate/sparselsmroptions/conditionlimit
---

# conditionLimit

The condition number limit (Fong-Saunders test only).

## Declaration

```swift
var conditionLimit: Double
```

## Discussion

Discussion The operation terminates iterations if a computed estimate of cond(Abar) exceeds this value. This is to prevent certain small or zero singular values of A or Abar from coming into effect and causing unwanted growth in the computed solution. You can use conditionLimit and lambda separately or together to regularize ill-conditioned systems. Normally, conditionLimit is in the range 1000 to 1/eps. Suggested value: conditionLimit = 1/(100*eps)  for compatible systems, conditionLimit = 1/(10*sqrt(eps)) for least squares

## See Also

### Inspecting LSMR Options

- [atol](accelerate/sparselsmroptions/atol.md)
- [btol](accelerate/sparselsmroptions/btol.md)
- [convergenceTest](accelerate/sparselsmroptions/convergencetest.md)
- [SparseLSMRConvergenceTest_t](accelerate/sparselsmrconvergencetest_t.md)
- [lambda](accelerate/sparselsmroptions/lambda.md)
- [maxIterations](accelerate/sparselsmroptions/maxiterations.md)
- [nvec](accelerate/sparselsmroptions/nvec.md)
- [reportError](accelerate/sparselsmroptions/reporterror.md)
- [reportStatus](accelerate/sparselsmroptions/reportstatus.md)
- [rtol](accelerate/sparselsmroptions/rtol.md)
