#[non_exhaustive]pub struct LsmrResult {
pub x: Vec<f64>,
pub istop: i32,
pub iterations: usize,
pub normr: f64,
pub normar: f64,
pub norma: f64,
pub conda: f64,
pub normx: f64,
}Expand description
The result of lsmr (SciPy’s x, istop, itn, normr, normar, norma, conda, normx).
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>§istop: i32SciPy’s istop: 0 x = 0 is the solution, 1 Ax = b to btol, 2 least squares to
atol, 3 the condition limit, 4–6 the same at machine precision, 7 the iteration limit.
iterations: usize§normr: f64‖b − A x‖ (with the damping term included when λ > 0).
normar: f64‖Aᵀ(b − A x) − λ² x‖.
norma: f64Estimates of ‖A‖ (of [A; λI]) and its condition number.
conda: f64§normx: f64Trait Implementations§
Source§impl Clone for LsmrResult
impl Clone for LsmrResult
Auto Trait Implementations§
impl Freeze for LsmrResult
impl RefUnwindSafe for LsmrResult
impl Send for LsmrResult
impl Sync for LsmrResult
impl Unpin for LsmrResult
impl UnsafeUnpin for LsmrResult
impl UnwindSafe for LsmrResult
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