/// Returns singular values, left-singular vectors and right-singular vectors
Returns singular values, left-singular vectors and right-singular vectors
Returns singular values left - singular vectors and right - singular vectors
pub fn values_vectors(&self) -> (Array2<A>, Array1<A>, Array2<A>) {
        let (values, indices) = self.singular_values_with_indices();
        // branch n > m (for A is [n x m])
        let (u, v) = if self.ngm {
            let vlarge = self.eigvecs.select(Axis(1), &indices);
            let mut ularge = self.problem.dot(&vlarge);
            ularge
                .columns_mut()
                .into_iter()
                .zip(values.iter())
                .for_each(|(mut a, b)| a.mapv_inplace(|x| x / *b));
            (ularge, vlarge)
        } else {
            let ularge = self.eigvecs.select(Axis(1), &indices);
            let mut vlarge = self.problem.t().dot(&ularge);
            vlarge
                .columns_mut()
                .into_iter()
                .zip(values.iter())
                .for_each(|(mut a, b)| a.mapv_inplace(|x| x / *b));
            (ularge, vlarge)
        };
        (u, values, v.reversed_axes())
    }
pub fn values_vectors ( & self ) -> ( Array2 < A > , Array1 < A > , Array2 < A > ) { let ( values , indices ) = self . singular_values_with_indices ( ) ; // branch n > m (for A is [n x m]) let ( u , v ) = if self . ngm { let vlarge = self . eigvecs . select ( Axis ( 1 ) , & indices ) ; let mut ularge = self . problem . dot ( & vlarge ) ; ularge . columns_mut ( ) . into_iter ( ) . zip ( values . iter ( ) ) . for_each ( | ( mut a , b ) | a . mapv_inplace ( | x | x / * b ) ) ; ( ularge , vlarge ) } else { let ularge = self . eigvecs . select ( Axis ( 1 ) , & indices ) ; let mut vlarge = self . problem . t ( ) . dot ( & ularge ) ; vlarge . columns_mut ( ) . into_iter ( ) . zip ( values . iter ( ) ) . for_each ( | ( mut a , b ) | a . mapv_inplace ( | x | x / * b ) ) ; ( ularge , vlarge ) } ; ( u , values , v . reversed_axes ( ) ) }
Returns singular values, left-singular vectors and right-singular vectors
Returns singular values left - singular vectors and right - singular vectors
&self