[−][src]Struct argmin::solver::quasinewton::dfp::DFP
DFP method
References:
[0] Jorge Nocedal and Stephen J. Wright (2006). Numerical Optimization. Springer. ISBN 0-387-30303-0.
Methods
impl<L, H, F: ArgminFloat> DFP<L, H, F>
[src]
pub fn new(init_inverse_hessian: H, linesearch: L) -> Self
[src]
Constructor
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
Trait Implementations
impl<L: Clone, H: Clone, F: Clone> Clone for DFP<L, H, F>
[src]
impl<'de, L, H, F> Deserialize<'de> for DFP<L, H, F> where
L: Deserialize<'de>,
H: Deserialize<'de>,
F: Deserialize<'de>,
[src]
L: Deserialize<'de>,
H: Deserialize<'de>,
F: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<L, H, F> Serialize for DFP<L, H, F> where
L: Serialize,
H: Serialize,
F: Serialize,
[src]
L: Serialize,
H: Serialize,
F: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<O, L, H, F> Solver<O> for DFP<L, H, F> where
O: ArgminOp<Output = F, Hessian = H, Float = F>,
O::Param: Clone + Default + Serialize + ArgminSub<O::Param, O::Param> + ArgminDot<O::Param, O::Float> + ArgminDot<O::Param, O::Hessian> + ArgminScaledAdd<O::Param, F, O::Param> + ArgminNorm<O::Float> + ArgminMul<O::Float, O::Param> + ArgminTranspose,
O::Hessian: 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> + ArgminTranspose + ArgminEye,
L: Clone + ArgminLineSearch<O::Param, O::Float> + Solver<OpWrapper<O>>,
F: ArgminFloat,
[src]
O: ArgminOp<Output = F, Hessian = H, Float = F>,
O::Param: Clone + Default + Serialize + ArgminSub<O::Param, O::Param> + ArgminDot<O::Param, O::Float> + ArgminDot<O::Param, O::Hessian> + ArgminScaledAdd<O::Param, F, O::Param> + ArgminNorm<O::Float> + ArgminMul<O::Float, O::Param> + ArgminTranspose,
O::Hessian: 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> + ArgminTranspose + ArgminEye,
L: Clone + ArgminLineSearch<O::Param, O::Float> + Solver<OpWrapper<O>>,
F: ArgminFloat,
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]
Auto Trait Implementations
impl<L, H, F> RefUnwindSafe for DFP<L, H, F> where
F: RefUnwindSafe,
H: RefUnwindSafe,
L: RefUnwindSafe,
F: RefUnwindSafe,
H: RefUnwindSafe,
L: RefUnwindSafe,
impl<L, H, F> Send for DFP<L, H, F> where
F: Send,
H: Send,
L: Send,
F: Send,
H: Send,
L: Send,
impl<L, H, F> Sync for DFP<L, H, F> where
F: Sync,
H: Sync,
L: Sync,
F: Sync,
H: Sync,
L: Sync,
impl<L, H, F> Unpin for DFP<L, H, F> where
F: Unpin,
H: Unpin,
L: Unpin,
F: Unpin,
H: Unpin,
L: Unpin,
impl<L, H, F> UnwindSafe for DFP<L, H, F> where
F: UnwindSafe,
H: UnwindSafe,
L: UnwindSafe,
F: UnwindSafe,
H: UnwindSafe,
L: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,