[][src]Struct argmin::solver::trustregion::steihaug::Steihaug

pub struct Steihaug<P> { /* fields omitted */ }

The Steihaug method is a conjugate gradients based approach for finding an approximate solution to the second order approximation of the cost function within the trust region.

References:

[0] Jorge Nocedal and Stephen J. Wright (2006). Numerical Optimization. Springer. ISBN 0-387-30303-0.

Methods

impl<P> Steihaug<P> where
    P: Default + Clone + ArgminMul<f64, P> + ArgminDot<P, f64> + ArgminAdd<P, P>, 
[src]

pub fn new() -> Self[src]

Constructor

pub fn epsilon(self, epsilon: f64) -> Result<Self, Error>[src]

Set epsilon

pub fn max_iters(self, iters: u64) -> Self[src]

set maximum number of iterations

Trait Implementations

impl<P: PartialEq> PartialEq<Steihaug<P>> for Steihaug<P>[src]

impl<P: Copy> Copy for Steihaug<P>[src]

impl<P: Clone> Clone for Steihaug<P>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<P: PartialOrd> PartialOrd<Steihaug<P>> for Steihaug<P>[src]

impl<P: Default> Default for Steihaug<P>[src]

impl<P: Debug> Debug for Steihaug<P>[src]

impl<P> Serialize for Steihaug<P> where
    P: Serialize
[src]

impl<P, O> Solver<O> for Steihaug<P> where
    O: ArgminOp<Param = P, Output = f64>,
    P: Clone + Serialize + DeserializeOwned + Default + ArgminMul<f64, P> + ArgminWeightedDot<P, f64, O::Hessian> + ArgminNorm<f64> + ArgminDot<P, f64> + ArgminAdd<P, P> + ArgminSub<P, P> + ArgminZeroLike + ArgminMul<f64, P>,
    O::Hessian: ArgminDot<P, P>, 
[src]

fn terminate_internal(&mut self, state: &IterState<O>) -> TerminationReason[src]

Checks whether basic termination reasons apply. Read more

impl<'de, P> Deserialize<'de> for Steihaug<P> where
    P: Deserialize<'de>, 
[src]

impl<P: Clone + Serialize> ArgminTrustRegion for Steihaug<P>[src]

Auto Trait Implementations

impl<P> Send for Steihaug<P> where
    P: Send

impl<P> Sync for Steihaug<P> where
    P: Sync

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized