pub struct SVDResult {
pub u: Matrix,
pub sigma: Vec<f64>,
pub v_t: Matrix,
}Expand description
SVD decomposition result.
Contains the singular value decomposition A = U * Sigma * V^T where:
- U is an m×min(m,n) orthogonal matrix (left singular vectors)
- Sigma is a vector of min(m,n) singular values (sorted in descending order)
- V is an n×n orthogonal matrix (right singular vectors, stored transposed as V^T)
Fields§
§u: MatrixLeft singular vectors (m × k matrix where k = min(m,n))
sigma: Vec<f64>Singular values (k elements, sorted in descending order)
v_t: MatrixRight singular vectors transposed (n × n matrix, rows are V^T)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SVDResult
impl RefUnwindSafe for SVDResult
impl Send for SVDResult
impl Sync for SVDResult
impl Unpin for SVDResult
impl UnsafeUnpin for SVDResult
impl UnwindSafe for SVDResult
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