#[non_exhaustive]pub struct Svd<T: Real = f64> {
pub u: DenseBlock<T>,
pub s: Vec<T>,
pub v: DenseBlock<T>,
pub stats: SvdStats,
}Expand description
A truncated SVD A ≈ U diag(s) Vᵀ: U is m × k, V is n × k (not
transposed: R’s svd convention), s nonincreasing.
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.u: DenseBlock<T>Left singular vectors.
s: Vec<T>Singular values, nonincreasing.
v: DenseBlock<T>Right singular vectors.
stats: SvdStatsCounters.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Svd<T>
impl<T> RefUnwindSafe for Svd<T>where
T: RefUnwindSafe,
impl<T> Send for Svd<T>where
T: Send,
impl<T> Sync for Svd<T>where
T: Sync,
impl<T> Unpin for Svd<T>where
T: Unpin,
impl<T> UnsafeUnpin for Svd<T>
impl<T> UnwindSafe for Svd<T>where
T: 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