#[non_exhaustive]pub enum GradConv {
MinForce(f64),
RMSForce(f64),
}Expand description
Conditions for terminsation based on gradient
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MinForce(f64)
convergence based on max abs component of gradient
RMSForce(f64)
convergence based on mean force
Trait Implementations§
Source§impl PartialOrd for GradConv
impl PartialOrd for GradConv
impl Copy for GradConv
impl StructuralPartialEq for GradConv
Auto Trait Implementations§
impl Freeze for GradConv
impl RefUnwindSafe for GradConv
impl Send for GradConv
impl Sync for GradConv
impl Unpin for GradConv
impl UnwindSafe for GradConv
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