Skip to main content

SVD

Trait SVD 

Source
pub trait SVD<T> {
    // Required method
    fn svd(
        &self,
        calc_u: bool,
        calc_vt: bool,
    ) -> Result<(Option<Array2<T>>, Array1<f64>, Option<Array2<T>>)>;
}
Expand description

The singular value decomposition A = U Σ Vᴴ: (U, σ, Vᴴ) with the full square unitary factors when requested and the min(m, n) singular values in descending order.

Required Methods§

Source

fn svd( &self, calc_u: bool, calc_vt: bool, ) -> Result<(Option<Array2<T>>, Array1<f64>, Option<Array2<T>>)>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: Scalar, S: Data<Elem = T>> SVD<T> for ArrayBase<S, Ix2>

Source§

fn svd( &self, calc_u: bool, calc_vt: bool, ) -> Result<(Option<Array2<T>>, Array1<f64>, Option<Array2<T>>)>

Implementors§