[−][src]Struct liblbfgs::LbfgsState
LBFGS optimization state allowing iterative propagation
Implementations
impl<'a, E> LbfgsState<'a, E> where
E: FnMut(&[f64], &mut [f64]) -> Result<f64>,
[src]
E: FnMut(&[f64], &mut [f64]) -> Result<f64>,
pub fn is_converged(&mut self) -> bool
[src]
Check if stopping critera met. Panics if not initialized.
pub fn report(&self) -> Report
[src]
Report minimization progress. Panics if not initialized yet.
pub fn propagate(&mut self) -> Result<Progress<'_>>
[src]
Propagate in next LBFGS step. Return optimization progress on success. Panics if not initialized.
Auto Trait Implementations
impl<'a, E> RefUnwindSafe for LbfgsState<'a, E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<'a, E> Send for LbfgsState<'a, E> where
E: Send,
E: Send,
impl<'a, E> Sync for LbfgsState<'a, E> where
E: Sync,
E: Sync,
impl<'a, E> Unpin for LbfgsState<'a, E> where
E: Unpin,
E: Unpin,
impl<'a, E> !UnwindSafe for LbfgsState<'a, E>
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,