pub struct LineSearch { /* private fields */ }Expand description
Configurations for line search.
If you are indecisive for values, it is sufficient to use default().
Implementations§
Source§impl LineSearch
impl LineSearch
pub fn with_initial_step_size(self, initial_step_size: f64) -> Self
pub fn with_step_update_rate(self, step_update_rate: f64) -> Self
pub fn with_armijo_param(self, armijo_param: f64) -> Self
pub fn with_curvature_param(self, curvature_param: f64) -> Self
Trait Implementations§
Source§impl Clone for LineSearch
impl Clone for LineSearch
Source§fn clone(&self) -> LineSearch
fn clone(&self) -> LineSearch
Returns a duplicate 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 LineSearch
impl Debug for LineSearch
Auto Trait Implementations§
impl Freeze for LineSearch
impl RefUnwindSafe for LineSearch
impl Send for LineSearch
impl Sync for LineSearch
impl Unpin for LineSearch
impl UnwindSafe for LineSearch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more