pub struct SolverResult {
pub solution: Vec<f32>,
pub iterations: usize,
pub residual_norm: f64,
pub wall_time: Duration,
pub convergence_history: Vec<ConvergenceInfo>,
pub algorithm: Algorithm,
}Expand description
Result returned by a successful solver invocation.
Fields§
§solution: Vec<f32>Solution vector x.
iterations: usizeNumber of iterations performed.
residual_norm: f64Final residual L2 norm.
wall_time: DurationWall-clock time taken.
convergence_history: Vec<ConvergenceInfo>Per-iteration convergence history.
algorithm: AlgorithmAlgorithm used.
Trait Implementations§
Source§impl Clone for SolverResult
impl Clone for SolverResult
Source§fn clone(&self) -> SolverResult
fn clone(&self) -> SolverResult
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 Freeze for SolverResult
impl RefUnwindSafe for SolverResult
impl Send for SolverResult
impl Sync for SolverResult
impl Unpin for SolverResult
impl UnsafeUnpin for SolverResult
impl UnwindSafe for SolverResult
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