pub struct ConstrainedSolution {
pub x: Vec<f64>,
pub residual_norm: f64,
pub constraint_residual_norm: f64,
pub relative_error_estimate: f64,
}Expand description
The solution of an equality-constrained least-squares problem.
Fields§
§x: Vec<f64>The minimiser of ||A x - b||_2 subject to C x = d.
residual_norm: f64||A x - b||_2 at the solution.
constraint_residual_norm: f64||C x - d||_2 at the solution: zero up to rounding.
relative_error_estimate: f64Sum of the relative error estimates of the two stages (constraint solve and reduced least squares).
Trait Implementations§
Source§impl Clone for ConstrainedSolution
impl Clone for ConstrainedSolution
Source§fn clone(&self) -> ConstrainedSolution
fn clone(&self) -> ConstrainedSolution
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 ConstrainedSolution
impl Debug for ConstrainedSolution
Source§impl PartialEq for ConstrainedSolution
impl PartialEq for ConstrainedSolution
impl StructuralPartialEq for ConstrainedSolution
Auto Trait Implementations§
impl Freeze for ConstrainedSolution
impl RefUnwindSafe for ConstrainedSolution
impl Send for ConstrainedSolution
impl Sync for ConstrainedSolution
impl Unpin for ConstrainedSolution
impl UnwindSafe for ConstrainedSolution
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