pub struct FixedStepWidth { /* private fields */ }Expand description
Uses a fixed step width γ in each iteration instead of performing an actual line search.
Implementations§
Source§impl FixedStepWidth
impl FixedStepWidth
Sourcepub fn new(fixed_step_width: f64) -> FixedStepWidth
pub fn new(fixed_step_width: f64) -> FixedStepWidth
Creates a new FixedStepWidth given the static step width.
Trait Implementations§
Source§impl Clone for FixedStepWidth
impl Clone for FixedStepWidth
Source§fn clone(&self) -> FixedStepWidth
fn clone(&self) -> FixedStepWidth
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 FixedStepWidth
impl Debug for FixedStepWidth
Source§impl LineSearch for FixedStepWidth
impl LineSearch for FixedStepWidth
impl Copy for FixedStepWidth
Auto Trait Implementations§
impl Freeze for FixedStepWidth
impl RefUnwindSafe for FixedStepWidth
impl Send for FixedStepWidth
impl Sync for FixedStepWidth
impl Unpin for FixedStepWidth
impl UnwindSafe for FixedStepWidth
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