#[non_exhaustive]pub struct LinearLsqResult {
pub x: Vec<f64>,
pub cost: f64,
pub residual_norm: f64,
pub active: Vec<i8>,
pub iterations: usize,
}Expand description
The result of lsq_linear and nnls.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.x: Vec<f64>§cost: f64½ ‖A x − b‖².
residual_norm: f64The residual norm ‖A x − b‖.
active: Vec<i8>§iterations: usizeTrait Implementations§
Source§impl Clone for LinearLsqResult
impl Clone for LinearLsqResult
Auto Trait Implementations§
impl Freeze for LinearLsqResult
impl RefUnwindSafe for LinearLsqResult
impl Send for LinearLsqResult
impl Sync for LinearLsqResult
impl Unpin for LinearLsqResult
impl UnsafeUnpin for LinearLsqResult
impl UnwindSafe for LinearLsqResult
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