Trait ndarray_linalg::svd::SVDInplace

source ·
pub trait SVDInplace {
    type U;
    type VT;
    type Sigma;

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

singular-value decomposition for mutable reference of matrix

Required Associated Types§

Required Methods§

source

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

Implementations on Foreign Types§

source§

impl<A, S> SVDInplace for ArrayBase<S, Ix2>
where A: Scalar + Lapack, S: DataMut<Elem = A>,

source§

type U = ArrayBase<OwnedRepr<A>, Dim<[usize; 2]>>

source§

type VT = ArrayBase<OwnedRepr<A>, Dim<[usize; 2]>>

source§

type Sigma = ArrayBase<OwnedRepr<<A as Scalar>::Real>, Dim<[usize; 1]>>

source§

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

Implementors§