pub struct GaussNewton<F> { /* private fields */ }
Expand description
Implementations§
Source§impl<F: ArgminFloat> GaussNewton<F>
impl<F: ArgminFloat> GaussNewton<F>
Trait Implementations§
Source§impl<F: Clone> Clone for GaussNewton<F>
impl<F: Clone> Clone for GaussNewton<F>
Source§fn clone(&self) -> GaussNewton<F>
fn clone(&self) -> GaussNewton<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: ArgminFloat> Default for GaussNewton<F>
impl<F: ArgminFloat> Default for GaussNewton<F>
Source§fn default() -> GaussNewton<F>
fn default() -> GaussNewton<F>
Returns the “default value” for a type. Read more
Source§impl<'de, F> Deserialize<'de> for GaussNewton<F>where
F: Deserialize<'de>,
impl<'de, F> Deserialize<'de> for GaussNewton<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> Serialize for GaussNewton<F>where
F: Serialize,
impl<F> Serialize for GaussNewton<F>where
F: Serialize,
Source§impl<O, F> Solver<O> for GaussNewton<F>where
O: ArgminOp<Float = F>,
O::Param: Default + 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 + ArgminInv<O::Jacobian> + ArgminDot<O::Jacobian, O::Jacobian> + ArgminDot<O::Output, O::Param> + ArgminDot<O::Param, O::Param>,
O::Hessian: Default,
F: ArgminFloat,
impl<O, F> Solver<O> for GaussNewton<F>where
O: ArgminOp<Float = F>,
O::Param: Default + 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 + ArgminInv<O::Jacobian> + ArgminDot<O::Jacobian, O::Jacobian> + ArgminDot<O::Output, O::Param> + ArgminDot<O::Param, O::Param>,
O::Hessian: Default,
F: ArgminFloat,
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
Auto Trait Implementations§
impl<F> Freeze for GaussNewton<F>where
F: Freeze,
impl<F> RefUnwindSafe for GaussNewton<F>where
F: RefUnwindSafe,
impl<F> Send for GaussNewton<F>where
F: Send,
impl<F> Sync for GaussNewton<F>where
F: Sync,
impl<F> Unpin for GaussNewton<F>where
F: Unpin,
impl<F> UnwindSafe for GaussNewton<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