pub struct CauchyPoint<F> { /* private fields */ }
Expand description
The Cauchy point is the minimum of the quadratic approximation of the cost function within the trust region along the direction given by the first derivative.
§References:
[0] Jorge Nocedal and Stephen J. Wright (2006). Numerical Optimization. Springer. ISBN 0-387-30303-0.
Implementations§
Source§impl<F: ArgminFloat> CauchyPoint<F>
impl<F: ArgminFloat> CauchyPoint<F>
Trait Implementations§
Source§impl<F: ArgminFloat> ArgminTrustRegion<F> for CauchyPoint<F>
impl<F: ArgminFloat> ArgminTrustRegion<F> for CauchyPoint<F>
Source§fn set_radius(&mut self, radius: F)
fn set_radius(&mut self, radius: F)
Set the initial step length
Source§impl<F: Clone> Clone for CauchyPoint<F>
impl<F: Clone> Clone for CauchyPoint<F>
Source§fn clone(&self) -> CauchyPoint<F>
fn clone(&self) -> CauchyPoint<F>
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<F: Debug> Debug for CauchyPoint<F>
impl<F: Debug> Debug for CauchyPoint<F>
Source§impl<F: Default> Default for CauchyPoint<F>
impl<F: Default> Default for CauchyPoint<F>
Source§fn default() -> CauchyPoint<F>
fn default() -> CauchyPoint<F>
Returns the “default value” for a type. Read more
Source§impl<'de, F> Deserialize<'de> for CauchyPoint<F>where
F: Deserialize<'de>,
impl<'de, F> Deserialize<'de> for CauchyPoint<F>where
F: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<F: PartialEq> PartialEq for CauchyPoint<F>
impl<F: PartialEq> PartialEq for CauchyPoint<F>
Source§impl<F: PartialOrd> PartialOrd for CauchyPoint<F>
impl<F: PartialOrd> PartialOrd for CauchyPoint<F>
Source§impl<F> Serialize for CauchyPoint<F>where
F: Serialize,
impl<F> Serialize for CauchyPoint<F>where
F: Serialize,
Source§impl<O, F> Solver<O> for CauchyPoint<F>
impl<O, F> Solver<O> for CauchyPoint<F>
Source§fn next_iter(
&mut self,
op: &mut OpWrapper<O>,
state: &IterState<O>,
) -> Result<ArgminIterData<O>, Error>
fn next_iter( &mut self, op: &mut OpWrapper<O>, state: &IterState<O>, ) -> Result<ArgminIterData<O>, Error>
Computes one iteration of the algorithm.
Source§fn terminate(&mut self, state: &IterState<O>) -> TerminationReason
fn terminate(&mut self, state: &IterState<O>) -> TerminationReason
Checks whether the algorithm must be terminated
Source§fn init(
&mut self,
_op: &mut OpWrapper<O>,
_state: &IterState<O>,
) -> Result<Option<ArgminIterData<O>>, Error>
fn init( &mut self, _op: &mut OpWrapper<O>, _state: &IterState<O>, ) -> Result<Option<ArgminIterData<O>>, Error>
Initializes the algorithm Read more
Source§fn terminate_internal(&mut self, state: &IterState<O>) -> TerminationReason
fn terminate_internal(&mut self, state: &IterState<O>) -> TerminationReason
Checks whether basic termination reasons apply. Read more
impl<F: Copy> Copy for CauchyPoint<F>
impl<F> StructuralPartialEq for CauchyPoint<F>
Auto Trait Implementations§
impl<F> Freeze for CauchyPoint<F>where
F: Freeze,
impl<F> RefUnwindSafe for CauchyPoint<F>where
F: RefUnwindSafe,
impl<F> Send for CauchyPoint<F>where
F: Send,
impl<F> Sync for CauchyPoint<F>where
F: Sync,
impl<F> Unpin for CauchyPoint<F>where
F: Unpin,
impl<F> UnwindSafe for CauchyPoint<F>where
F: 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