pub struct WolfeOptions<S: Scalar> {
pub c1: S,
pub c2: S,
pub max_step: S,
pub max_iter: usize,
}Expand description
Options controlling the Wolfe line search.
Fields§
§c1: SSufficient-decrease (Armijo) parameter, typically 1e-4.
c2: SCurvature parameter, typically 0.9 for quasi-Newton, 0.1 for CG.
max_step: SMaximum allowed step length.
max_iter: usizeMaximum number of bracket-phase iterations.
Trait Implementations§
Source§impl<S: Clone + Scalar> Clone for WolfeOptions<S>
impl<S: Clone + Scalar> Clone for WolfeOptions<S>
Source§fn clone(&self) -> WolfeOptions<S>
fn clone(&self) -> WolfeOptions<S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<S> Freeze for WolfeOptions<S>where
S: Freeze,
impl<S> RefUnwindSafe for WolfeOptions<S>where
S: RefUnwindSafe,
impl<S> Send for WolfeOptions<S>
impl<S> Sync for WolfeOptions<S>
impl<S> Unpin for WolfeOptions<S>where
S: Unpin,
impl<S> UnsafeUnpin for WolfeOptions<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for WolfeOptions<S>where
S: UnwindSafe,
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