pub struct ConjugateGD {
pub rho: f64,
pub sig: f64,
pub int: f64,
pub ext: f64,
pub max: usize,
pub ratio: f64,
pub iters: usize,
}Expand description
Conjugate Gradient Descent algorithm
Fields§
§rho: f64Constant in the Wolfe-Powell conditions.
sig: f64Constant in the Wolfe-Powell conditions.
int: f64Don’t reevaluate within int of the limit of the current bracket.
ext: f64Extrapolate max of ext times the current bracket.
max: usizeMax of max function evaluations per line search
ratio: f64The maximum allowed slope ratio
iters: usizeThe default number of max iterations.
Trait Implementations§
Source§impl Clone for ConjugateGD
impl Clone for ConjugateGD
Source§fn clone(&self) -> ConjugateGD
fn clone(&self) -> ConjugateGD
Returns a duplicate 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 ConjugateGD
impl Debug for ConjugateGD
Source§impl Default for ConjugateGD
The default Conjugate GD algorithm.
impl Default for ConjugateGD
The default Conjugate GD algorithm.
The defaults are:
- rho = 0.01
- sig = 0.5
- int = 0.1
- ext = 3
- max = 20
- ration = 100
- iters = 100
Source§fn default() -> ConjugateGD
fn default() -> ConjugateGD
Returns the “default value” for a type. Read more
Source§impl<M: Optimizable> OptimAlgorithm<M> for ConjugateGD
impl<M: Optimizable> OptimAlgorithm<M> for ConjugateGD
impl Copy for ConjugateGD
Auto Trait Implementations§
impl Freeze for ConjugateGD
impl RefUnwindSafe for ConjugateGD
impl Send for ConjugateGD
impl Sync for ConjugateGD
impl Unpin for ConjugateGD
impl UnwindSafe for ConjugateGD
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