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

# rtol

The relative convergence tolerance (default test only).

## Declaration

```swift
var rtol: Double
```

## Discussion

Discussion If this value is 0.0, the operation uses the default value of sqrt(epsilon). If it’s negative, the operation treats rtol as 0.0 (it doesn’t use the default)

## See Also

### Inspecting LSMR Options

- [atol](accelerate/sparselsmroptions/atol.md)
- [btol](accelerate/sparselsmroptions/btol.md)
- [conditionLimit](accelerate/sparselsmroptions/conditionlimit.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)
