pub struct LinearSolution {
pub x: Vec<f64>,
pub residual_norm: f64,
pub relative_error_estimate: f64,
}Expand description
The solution of a square linear system.
Fields§
§x: Vec<f64>The solution vector.
residual_norm: f64||b - A x||_1, computed in f64.
relative_error_estimate: f64Estimate of ||x - x_exact||_1 / ||x_exact||_1: twice the condition
estimate times the normwise backward error, the latter enlarged by
a bound on the rounding of the computed residual itself.
Trait Implementations§
Source§impl Clone for LinearSolution
impl Clone for LinearSolution
Source§fn clone(&self) -> LinearSolution
fn clone(&self) -> LinearSolution
Returns a copy 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 moreSource§impl Debug for LinearSolution
impl Debug for LinearSolution
Source§impl PartialEq for LinearSolution
impl PartialEq for LinearSolution
impl StructuralPartialEq for LinearSolution
Auto Trait Implementations§
impl Freeze for LinearSolution
impl RefUnwindSafe for LinearSolution
impl Send for LinearSolution
impl Sync for LinearSolution
impl Unpin for LinearSolution
impl UnwindSafe for LinearSolution
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