lax

Trait SVD_

Source
pub trait SVD_: Scalar {
    // Required method
    fn svd(
        l: MatrixLayout,
        calc_u: bool,
        calc_vt: bool,
        a: &mut [Self],
    ) -> Result<SVDOutput<Self>>;
}
Expand description

Wraps *gesvd

Required Methods§

Source

fn svd( l: MatrixLayout, calc_u: bool, calc_vt: bool, a: &mut [Self], ) -> Result<SVDOutput<Self>>

Calculate singular value decomposition $ A = U \Sigma V^T $

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SVD_ for f32

Source§

fn svd( l: MatrixLayout, calc_u: bool, calc_vt: bool, a: &mut [Self], ) -> Result<SVDOutput<Self>>

Source§

impl SVD_ for f64

Source§

fn svd( l: MatrixLayout, calc_u: bool, calc_vt: bool, a: &mut [Self], ) -> Result<SVDOutput<Self>>

Source§

impl SVD_ for c32

Source§

fn svd( l: MatrixLayout, calc_u: bool, calc_vt: bool, a: &mut [Self], ) -> Result<SVDOutput<Self>>

Source§

impl SVD_ for c64

Source§

fn svd( l: MatrixLayout, calc_u: bool, calc_vt: bool, a: &mut [Self], ) -> Result<SVDOutput<Self>>

Implementors§