pub struct LeastSquaresSolution {
pub x: Vec<f64>,
pub residual_norm: f64,
pub relative_error_estimate: f64,
}Expand description
The solution of a linear least-squares problem.
Fields§
§x: Vec<f64>The minimiser of ||A x - b||_2.
residual_norm: f64||A x - b||_2 at the solution.
relative_error_estimate: f64Estimate of ||x - x_exact|| / ||x_exact|| from the standard
first-order perturbation bound for Householder least squares,
m n u (2 kappa + kappa^2 ||r|| / (||A|| ||x||)).
Trait Implementations§
Source§impl Clone for LeastSquaresSolution
impl Clone for LeastSquaresSolution
Source§fn clone(&self) -> LeastSquaresSolution
fn clone(&self) -> LeastSquaresSolution
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 LeastSquaresSolution
impl Debug for LeastSquaresSolution
Source§impl PartialEq for LeastSquaresSolution
impl PartialEq for LeastSquaresSolution
impl StructuralPartialEq for LeastSquaresSolution
Auto Trait Implementations§
impl Freeze for LeastSquaresSolution
impl RefUnwindSafe for LeastSquaresSolution
impl Send for LeastSquaresSolution
impl Sync for LeastSquaresSolution
impl Unpin for LeastSquaresSolution
impl UnwindSafe for LeastSquaresSolution
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