[−][src]Struct argmin::solver::quasinewton::sr1::SR1
SR1 method (broken!)
References:
[0] Jorge Nocedal and Stephen J. Wright (2006). Numerical Optimization. Springer. ISBN 0-387-30303-0.
Methods
impl<L, H> SR1<L, H>
[src]
pub fn new(init_inverse_hessian: H, linesearch: L) -> Self
[src]
Constructor
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>>,
[src]
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>>,
const NAME: &'static str
[src]
fn init(
&mut self,
op: &mut OpWrapper<O>,
state: &IterState<O>
) -> Result<Option<ArgminIterData<O>>, Error>
[src]
&mut self,
op: &mut OpWrapper<O>,
state: &IterState<O>
) -> Result<Option<ArgminIterData<O>>, Error>
fn next_iter(
&mut self,
op: &mut OpWrapper<O>,
state: &IterState<O>
) -> Result<ArgminIterData<O>, Error>
[src]
&mut self,
op: &mut OpWrapper<O>,
state: &IterState<O>
) -> Result<ArgminIterData<O>, Error>
fn terminate(&mut self, state: &IterState<O>) -> TerminationReason
[src]
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>,
[src]
L: Deserialize<'de>,
H: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<L, H> Serialize for SR1<L, H> where
L: Serialize,
H: Serialize,
[src]
L: Serialize,
H: Serialize,
Auto Trait Implementations
impl<L, H> Send for SR1<L, H> where
H: Send,
L: Send,
H: Send,
L: Send,
impl<L, H> Unpin for SR1<L, H> where
H: Unpin,
L: Unpin,
H: Unpin,
L: Unpin,
impl<L, H> Sync for SR1<L, H> where
H: Sync,
L: Sync,
H: Sync,
L: Sync,
impl<L, H> UnwindSafe for SR1<L, H> where
H: UnwindSafe,
L: UnwindSafe,
H: UnwindSafe,
L: UnwindSafe,
impl<L, H> RefUnwindSafe for SR1<L, H> where
H: RefUnwindSafe,
L: RefUnwindSafe,
H: RefUnwindSafe,
L: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
T: Send + Sync + UnwindSafe + ?Sized,