Struct argmin::solver::conjugategradient::beta::PolakRibierePlus
source · pub struct PolakRibierePlus {}
Expand description
Polak and Ribiere Plus (PR+) method
Formula: max(0, <\nabla f_{k+1}, (\nabla f_{k+1} - \nabla f_k)> / ||\nabla f_k||^2)
Implementations§
Trait Implementations§
source§impl Clone for PolakRibierePlus
impl Clone for PolakRibierePlus
source§fn clone(&self) -> PolakRibierePlus
fn clone(&self) -> PolakRibierePlus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PolakRibierePlus
impl Debug for PolakRibierePlus
source§impl Default for PolakRibierePlus
impl Default for PolakRibierePlus
source§fn default() -> PolakRibierePlus
fn default() -> PolakRibierePlus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PolakRibierePlus
impl<'de> Deserialize<'de> for PolakRibierePlus
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<G, P, F> NLCGBetaUpdate<G, P, F> for PolakRibierePlus
impl<G, P, F> NLCGBetaUpdate<G, P, F> for PolakRibierePlus
source§impl Serialize for PolakRibierePlus
impl Serialize for PolakRibierePlus
impl Copy for PolakRibierePlus
Auto Trait Implementations§
impl Freeze for PolakRibierePlus
impl RefUnwindSafe for PolakRibierePlus
impl Send for PolakRibierePlus
impl Sync for PolakRibierePlus
impl Unpin for PolakRibierePlus
impl UnwindSafe for PolakRibierePlus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.