Skip to main content

classify_convergence

Function classify_convergence 

Source
pub fn classify_convergence(
    residual_history: &[f64],
    tolerance: f64,
    max_iterations: u32,
) -> (ConvergenceState, ConvergenceStopReason)
Expand description

Detect convergence from a residual history.