Struct linxal::svd::types::SVDSolution [] [src]

pub struct SVDSolution<T: LinxalImplScalar> {
    pub values: Array<T::RealPart, Ix1>,
    pub left_vectors: Option<Array<T, Ix2>>,
    pub right_vectors: Option<Array<T, Ix2>>,
}

A solution to the singular value decomposition.

A singular value decomposition solution includes singular values and, optionally, the left and right singular vectors, stored as a mtrix.

Fields

Singular values of the matrix.

Singular values, which are guaranteed to be non-negative reals, are returned in descending order.

The matrix U of left singular vectors.

The matrix Vt of singular vectors.

The transpose of V is stored, not V itself.

Methods

impl<T: LinxalImplScalar> SVDSolution<T>
[src]

Reconstruct the original matrix if both left and right singular vectors are present.