pub struct ConjugateGradientOptions {
pub relative_tolerance: f64,
pub max_iterations: Option<usize>,
}Expand description
Stopping rule and budget for conjugate_gradient.
Fields§
§relative_tolerance: f64Stop when ||b - A x||_2 <= relative_tolerance * ||b||_2.
max_iterations: Option<usize>Iteration budget; None allows 10 n + 100 for an n x n system.
Trait Implementations§
Source§impl Clone for ConjugateGradientOptions
impl Clone for ConjugateGradientOptions
impl Copy for ConjugateGradientOptions
Source§impl Debug for ConjugateGradientOptions
impl Debug for ConjugateGradientOptions
Source§impl Default for ConjugateGradientOptions
impl Default for ConjugateGradientOptions
Source§impl PartialEq for ConjugateGradientOptions
impl PartialEq for ConjugateGradientOptions
impl StructuralPartialEq for ConjugateGradientOptions
Auto Trait Implementations§
impl Freeze for ConjugateGradientOptions
impl RefUnwindSafe for ConjugateGradientOptions
impl Send for ConjugateGradientOptions
impl Sync for ConjugateGradientOptions
impl Unpin for ConjugateGradientOptions
impl UnsafeUnpin for ConjugateGradientOptions
impl UnwindSafe for ConjugateGradientOptions
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