pub struct SVDDecomp<T, S, D: Dim> {
pub s: Array<S, (D,)>,
pub u: Array<T, (D, D)>,
pub vt: Array<T, (D, D)>,
}Expand description
Holds the results of a singular value decomposition, including singular values and the left and right singular vectors.
T is the matrix scalar type, S is the singular-value scalar type,
and D is the matrix dimension type.
Fields§
§s: Array<S, (D,)>§u: Array<T, (D, D)>§vt: Array<T, (D, D)>Auto Trait Implementations§
impl<T, S, D> Freeze for SVDDecomp<T, S, D>
impl<T, S, D> RefUnwindSafe for SVDDecomp<T, S, D>where
<D as Dim>::Buffer<S, (), Global>: RefUnwindSafe,
<D as Dim>::Buffer<T, (D,), Global>: RefUnwindSafe,
impl<T, S, D> Send for SVDDecomp<T, S, D>
impl<T, S, D> Sync for SVDDecomp<T, S, D>
impl<T, S, D> Unpin for SVDDecomp<T, S, D>
impl<T, S, D> UnsafeUnpin for SVDDecomp<T, S, D>where
<D as Dim>::Buffer<S, (), Global>: UnsafeUnpin,
<D as Dim>::Buffer<T, (D,), Global>: UnsafeUnpin,
impl<T, S, D> UnwindSafe for SVDDecomp<T, S, D>where
<D as Dim>::Buffer<S, (), Global>: UnwindSafe,
<D as Dim>::Buffer<T, (D,), Global>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoCloned<T> for T
impl<T> IntoCloned<T> for T
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