pub struct SvdResult<D: ComplexFloat> {
pub u: Array<D>,
pub s: Array<D::Real>,
pub v: Array<D>,
pub converged: bool,
pub iterations: usize,
}Expand description
Stores the result of Array::svd
Fields§
§u: Array<D>Left singular vectors, stored as columns
s: Array<D::Real>Singular values in descending order
v: Array<D>Right singular vectors, stored as columns
converged: boolTracks whether or not Array::svd had successfully converged
iterations: usizeTracks the number of sweeps that Array::svd performed
Trait Implementations§
Auto Trait Implementations§
impl<D> Forget for SvdResult<D>
impl<D> Freeze for SvdResult<D>
impl<D> Move for SvdResult<D>
impl<D> RefUnwindSafe for SvdResult<D>
impl<D> Send for SvdResult<D>
impl<D> Sync for SvdResult<D>
impl<D> Unpin for SvdResult<D>
impl<D> UnsafeUnpin for SvdResult<D>
impl<D> UnwindSafe for SvdResult<D>
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