pub enum LineSearchError {
    InvalidStartingPoint(String),
    MaximumStepsReached(String, usize),
    NegativeStepSize(String, Scalar),
    NotDescentDirection(String),
}Expand description
Possible errors encountered during line search.
Variants§
InvalidStartingPoint(String)
MaximumStepsReached(String, usize)
NegativeStepSize(String, Scalar)
NotDescentDirection(String)
Trait Implementations§
Source§impl Debug for LineSearchError
 
impl Debug for LineSearchError
Auto Trait Implementations§
impl Freeze for LineSearchError
impl RefUnwindSafe for LineSearchError
impl Send for LineSearchError
impl Sync for LineSearchError
impl Unpin for LineSearchError
impl UnwindSafe for LineSearchError
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