[][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.


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


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

pub fn new() -> Self[src]


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: Default> Default 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: Copy> Copy for Steihaug<P>[src]

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

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

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

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

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

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>, 

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

Checks whether basic termination reasons apply. Read more

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Borrow<T> for T where
    T: ?Sized

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

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

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