pub enum ConjugateGradientBeta {
FletcherReeves,
PolakRibierePlus,
HestenesStiefel,
DaiYuan,
}Expand description
The formula for β in the direction update d ← −g + β d.
Variants§
FletcherReeves
β = ‖g₊‖² / ‖g‖².
PolakRibierePlus
β = max(0, g₊ᵀ(g₊ − g) / ‖g‖²), PR+ (restarts automatically on lost conjugacy).
HestenesStiefel
β = g₊ᵀy / dᵀy with y = g₊ − g.
DaiYuan
β = ‖g₊‖² / dᵀy.
Trait Implementations§
Source§impl Clone for ConjugateGradientBeta
impl Clone for ConjugateGradientBeta
impl Copy for ConjugateGradientBeta
Source§impl Debug for ConjugateGradientBeta
impl Debug for ConjugateGradientBeta
impl Eq for ConjugateGradientBeta
Source§impl PartialEq for ConjugateGradientBeta
impl PartialEq for ConjugateGradientBeta
impl StructuralPartialEq for ConjugateGradientBeta
Auto Trait Implementations§
impl Freeze for ConjugateGradientBeta
impl RefUnwindSafe for ConjugateGradientBeta
impl Send for ConjugateGradientBeta
impl Sync for ConjugateGradientBeta
impl Unpin for ConjugateGradientBeta
impl UnsafeUnpin for ConjugateGradientBeta
impl UnwindSafe for ConjugateGradientBeta
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