pub struct SparseSolveResult<T: Float> {
pub x: Vec<T>,
pub iterations: usize,
pub residual_norm: T,
pub converged: bool,
}Expand description
Result of an iterative sparse solve.
Fields§
§x: Vec<T>Solution vector.
iterations: usizeNumber of iterations used.
residual_norm: TFinal residual norm.
converged: boolWhether the solver converged within tolerance.
Trait Implementations§
Source§impl<T: Clone + Float> Clone for SparseSolveResult<T>
impl<T: Clone + Float> Clone for SparseSolveResult<T>
Source§fn clone(&self) -> SparseSolveResult<T>
fn clone(&self) -> SparseSolveResult<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for SparseSolveResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for SparseSolveResult<T>where
T: RefUnwindSafe,
impl<T> Send for SparseSolveResult<T>
impl<T> Sync for SparseSolveResult<T>
impl<T> Unpin for SparseSolveResult<T>where
T: Unpin,
impl<T> UnsafeUnpin for SparseSolveResult<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for SparseSolveResult<T>where
T: UnwindSafe,
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