pub struct CgConfig {
pub max_iter: u32,
pub tol: f64,
}Expand description
Configuration for the Conjugate Gradient solver.
Fields§
§max_iter: u32Maximum number of iterations.
tol: f64Convergence tolerance (relative to ||b||).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CgConfig
impl RefUnwindSafe for CgConfig
impl Send for CgConfig
impl Sync for CgConfig
impl Unpin for CgConfig
impl UnsafeUnpin for CgConfig
impl UnwindSafe for CgConfig
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