Skip to main content

expected_iterations

Function expected_iterations 

Source
fn expected_iterations(iter: usize, d: f64, d_prev: f64, tol: f64) -> usize
Expand description

Iterations an uncapped geometric convergence from d_prev to d needs to reach tol, for the progress callback (at least one more than iter).