Struct argmin::solver::gaussnewton::gaussnewton_linesearch::GaussNewtonLS
source · [−]pub struct GaussNewtonLS<L, F> { /* private fields */ }
Expand description
Gauss-Newton method with linesearch
References:
[0] Jorge Nocedal and Stephen J. Wright (2006). Numerical Optimization. Springer. ISBN 0-387-30303-0.
Implementations
sourceimpl<L, F: ArgminFloat> GaussNewtonLS<L, F>
impl<L, F: ArgminFloat> GaussNewtonLS<L, F>
Trait Implementations
sourceimpl<L: Clone, F: Clone> Clone for GaussNewtonLS<L, F>
impl<L: Clone, F: Clone> Clone for GaussNewtonLS<L, F>
sourcefn clone(&self) -> GaussNewtonLS<L, F>
fn clone(&self) -> GaussNewtonLS<L, F>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'de, L, F> Deserialize<'de> for GaussNewtonLS<L, F> where
L: Deserialize<'de>,
F: Deserialize<'de>,
impl<'de, L, F> Deserialize<'de> for GaussNewtonLS<L, F> where
L: Deserialize<'de>,
F: Deserialize<'de>,
sourcefn 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
sourceimpl<L, F> Serialize for GaussNewtonLS<L, F> where
L: Serialize,
F: Serialize,
impl<L, F> Serialize for GaussNewtonLS<L, F> where
L: Serialize,
F: Serialize,
sourceimpl<O, L, F> Solver<O> for GaussNewtonLS<L, F> where
O: ArgminOp<Float = F>,
O::Param: Debug + ArgminScaledSub<O::Param, O::Float, O::Param> + ArgminSub<O::Param, O::Param> + ArgminMul<O::Float, O::Param>,
O::Output: ArgminNorm<O::Float>,
O::Jacobian: ArgminTranspose<O::Jacobian> + ArgminInv<O::Jacobian> + ArgminDot<O::Jacobian, O::Jacobian> + ArgminDot<O::Output, O::Param> + ArgminDot<O::Param, O::Param>,
L: Clone + ArgminLineSearch<O::Param, O::Float> + Solver<LineSearchOP<O>>,
F: ArgminFloat,
impl<O, L, F> Solver<O> for GaussNewtonLS<L, F> where
O: ArgminOp<Float = F>,
O::Param: Debug + ArgminScaledSub<O::Param, O::Float, O::Param> + ArgminSub<O::Param, O::Param> + ArgminMul<O::Float, O::Param>,
O::Output: ArgminNorm<O::Float>,
O::Jacobian: ArgminTranspose<O::Jacobian> + ArgminInv<O::Jacobian> + ArgminDot<O::Jacobian, O::Jacobian> + ArgminDot<O::Output, O::Param> + ArgminDot<O::Param, O::Param>,
L: Clone + ArgminLineSearch<O::Param, O::Float> + Solver<LineSearchOP<O>>,
F: ArgminFloat,
sourcefn 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.
sourcefn terminate(&mut self, state: &IterState<O>) -> TerminationReason
fn terminate(&mut self, state: &IterState<O>) -> TerminationReason
Checks whether the algorithm must be terminated
sourcefn 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
sourcefn 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
Auto Trait Implementations
impl<L, F> RefUnwindSafe for GaussNewtonLS<L, F> where
F: RefUnwindSafe,
L: RefUnwindSafe,
impl<L, F> Send for GaussNewtonLS<L, F> where
F: Send,
L: Send,
impl<L, F> Sync for GaussNewtonLS<L, F> where
F: Sync,
L: Sync,
impl<L, F> Unpin for GaussNewtonLS<L, F> where
F: Unpin,
L: Unpin,
impl<L, F> UnwindSafe for GaussNewtonLS<L, F> where
F: UnwindSafe,
L: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more