SVD

pub trait SVD {
    type U;
    type VT;
    type Sigma;

    // Required method
    fn svd(
        &self,
        calc_u: bool,
        calc_vt: bool,
    ) -> Result<(Option<Self::U>, Self::Sigma, Option<Self::VT>), LinalgError>;
}
Expand description

singular-value decomposition of matrix reference

Required Associated Types§

Required Methods§

Source

fn svd( &self, calc_u: bool, calc_vt: bool, ) -> Result<(Option<Self::U>, Self::Sigma, Option<Self::VT>), LinalgError>

Implementors§

Source§

impl<A, S> SVD for ArrayBase<S, Dim<[usize; 2]>>
where A: Scalar + Lapack, S: Data<Elem = A>,