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