pub struct LstsqResult<F: Float> {
pub x: Array1<F>,
pub residuals: F,
pub rank: usize,
pub s: Array1<F>,
}
Expand description
Solution to a least-squares problem
Fields§
§x: Array1<F>
Least-squares solution
residuals: F
Sum of squared residuals
rank: usize
Rank of coefficient matrix
s: Array1<F>
Singular values
Auto Trait Implementations§
impl<F> Freeze for LstsqResult<F>where
F: Freeze,
impl<F> RefUnwindSafe for LstsqResult<F>where
F: RefUnwindSafe,
impl<F> Send for LstsqResult<F>where
F: Send,
impl<F> Sync for LstsqResult<F>where
F: Sync,
impl<F> Unpin for LstsqResult<F>where
F: Unpin,
impl<F> UnwindSafe for LstsqResult<F>where
F: UnwindSafe + RefUnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more