Struct argmin::solver::quasinewton::sr1::SR1[][src]

pub struct SR1<L, H, F> { /* fields omitted */ }

SR1 method (broken!)

Example

References:

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

Implementations

impl<L, H, F: ArgminFloat> SR1<L, H, F>[src]

pub fn new(init_inverse_hessian: H, linesearch: L) -> Self[src]

Constructor

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

Set r

pub fn with_tol_grad(self, tol_grad: F) -> Self[src]

Sets tolerance for the stopping criterion based on the change of the norm on the gradient

pub fn with_tol_cost(self, tol_cost: F) -> Self[src]

Sets tolerance for the stopping criterion based on the change of the cost stopping criterion

Trait Implementations

impl<L: Clone, H: Clone, F: Clone> Clone for SR1<L, H, F>[src]

impl<'de, L, H, F> Deserialize<'de> for SR1<L, H, F> where
    L: Deserialize<'de>,
    H: Deserialize<'de>,
    F: Deserialize<'de>, 
[src]

impl<L, H, F> Serialize for SR1<L, H, F> where
    L: Serialize,
    H: Serialize,
    F: Serialize
[src]

impl<O, L, H, F> Solver<O> for SR1<L, H, F> where
    O: ArgminOp<Output = F, Hessian = H, Float = F>,
    O::Param: Debug + Clone + Default + Serialize + ArgminSub<O::Param, O::Param> + ArgminDot<O::Param, O::Float> + ArgminDot<O::Param, O::Hessian> + ArgminNorm<O::Float> + ArgminMul<O::Float, O::Param>,
    H: Debug + Clone + Default + Serialize + DeserializeOwned + ArgminSub<O::Hessian, O::Hessian> + ArgminDot<O::Param, O::Param> + ArgminDot<O::Hessian, O::Hessian> + ArgminAdd<O::Hessian, O::Hessian> + ArgminMul<F, O::Hessian>,
    L: Clone + ArgminLineSearch<O::Param, O::Float> + Solver<OpWrapper<O>>,
    F: ArgminFloat
[src]

Auto Trait Implementations

impl<L, H, F> RefUnwindSafe for SR1<L, H, F> where
    F: RefUnwindSafe,
    H: RefUnwindSafe,
    L: RefUnwindSafe

impl<L, H, F> Send for SR1<L, H, F> where
    F: Send,
    H: Send,
    L: Send

impl<L, H, F> Sync for SR1<L, H, F> where
    F: Sync,
    H: Sync,
    L: Sync

impl<L, H, F> Unpin for SR1<L, H, F> where
    F: Unpin,
    H: Unpin,
    L: Unpin

impl<L, H, F> UnwindSafe for SR1<L, H, F> where
    F: UnwindSafe,
    H: UnwindSafe,
    L: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

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

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