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

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

SR1 method (broken!)



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


impl<L, H> SR1<L, H>[src]

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


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

Set r

Trait Implementations

impl<O, L, H> Solver<O> for SR1<L, H> where
    O: ArgminOp<Output = f64, Hessian = H>,
    O::Param: Debug + Clone + Default + Serialize + ArgminSub<O::Param, O::Param> + ArgminDot<O::Param, f64> + ArgminDot<O::Param, O::Hessian> + ArgminNorm<f64> + ArgminMul<f64, O::Param>,
    O::Hessian: 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<f64, O::Hessian>,
    L: Clone + ArgminLineSearch<O::Param> + Solver<OpWrapper<O>>, 

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

Checks whether basic termination reasons apply. Read more

impl<'de, L, H> Deserialize<'de> for SR1<L, H> where
    L: Deserialize<'de>,
    H: Deserialize<'de>, 

impl<L, H> Serialize for SR1<L, H> where
    L: Serialize,
    H: Serialize

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

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