Skip to main content

SvdJacobi

Trait SvdJacobi 

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

The SVD by the one-sided Jacobi method, with the same output as SVD::svd. It is slower than the default (Golub-Kahan) method but determines small singular values to high relative accuracy, which matters for graded or badly scaled matrices.

Required Methods§

Source

fn svd_jacobi( &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>> SvdJacobi<T> for ArrayBase<S, Ix2>

Source§

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

Implementors§