pub enum Termination {
Gradient,
Step,
Cost,
IterationLimit,
NoProgress,
}Expand description
Why levenberg_marquardt stopped.
Variants§
Gradient
The gradient met its tolerance.
Step
A step met the step tolerance.
Cost
The cost met its tolerance.
IterationLimit
The iteration budget ran out.
NoProgress
No damping makes the cost decrease: rounding dominates the model.
Trait Implementations§
Source§impl Clone for Termination
impl Clone for Termination
Source§fn clone(&self) -> Termination
fn clone(&self) -> Termination
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Termination
impl Debug for Termination
Source§impl PartialEq for Termination
impl PartialEq for Termination
impl Copy for Termination
impl Eq for Termination
impl StructuralPartialEq for Termination
Auto Trait Implementations§
impl Freeze for Termination
impl RefUnwindSafe for Termination
impl Send for Termination
impl Sync for Termination
impl Unpin for Termination
impl UnwindSafe for Termination
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more