pub struct LineSearchPoint {
pub alpha: f64,
pub x: Vec<f64>,
pub value: f64,
pub gradient: Vec<f64>,
}Expand description
A point accepted by a line search: x = x₀ + alpha·d, with its value and gradient.
Fields§
§alpha: f64§x: Vec<f64>§value: f64§gradient: Vec<f64>Trait Implementations§
Source§impl Clone for LineSearchPoint
impl Clone for LineSearchPoint
Auto Trait Implementations§
impl Freeze for LineSearchPoint
impl RefUnwindSafe for LineSearchPoint
impl Send for LineSearchPoint
impl Sync for LineSearchPoint
impl Unpin for LineSearchPoint
impl UnsafeUnpin for LineSearchPoint
impl UnwindSafe for LineSearchPoint
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