pub struct SVDResult<T>{
pub u: Option<Array2<T>>,
pub s: Array1<T>,
pub vt: Option<Array2<T>>,
pub iterations: usize,
pub converged: bool,
}
Expand description
Result of SVD computation
Fields§
§u: Option<Array2<T>>
Left singular vectors (U matrix)
s: Array1<T>
Singular values
vt: Option<Array2<T>>
Right singular vectors transposed (V^T matrix)
iterations: usize
Number of iterations performed
converged: bool
Whether the algorithm converged
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SVDResult<T>
impl<T> RefUnwindSafe for SVDResult<T>where
T: RefUnwindSafe,
impl<T> Send for SVDResult<T>where
T: Send,
impl<T> Sync for SVDResult<T>where
T: Sync,
impl<T> Unpin for SVDResult<T>
impl<T> UnwindSafe for SVDResult<T>where
T: 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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