pub fn factor<N>(self, mat: CsMatViewI<N, I>) -> LdlNumeric<N, I>
    where N: Copy + Num + PartialOrd,
    {
        let n = self.problem_size();
        let nnz = self.nnz();
        let l_indices = vec![I::zero(); nnz];
        let l_data = vec![N::zero(); nnz];
        let diag = vec![N::zero(); n];
        let y_workspace = vec![N::zero(); n];
        let pattern_workspace = DStack::with_capacity(n);
        let mut ldl_numeric = LdlNumeric {
            symbolic: self,
            l_indices: l_indices,
            l_data: l_data,
            diag: diag,
            y_workspace: y_workspace,
            pattern_workspace: pattern_workspace,
        };
        ldl_numeric.update(mat);
        ldl_numeric
    }
/// Compute the numerical decomposition of the given matrix.
Compute the numerical decomposition of the given matrix.
Compute the numerical decomposition of the given matrix .
pub fn factor<N>(self, mat: CsMatViewI<N, I>) -> LdlNumeric<N, I>
    where N: Copy + Num + PartialOrd,
    {
        let n = self.problem_size();
        let nnz = self.nnz();
        let l_indices = vec![I::zero(); nnz];
        let l_data = vec![N::zero(); nnz];
        let diag = vec![N::zero(); n];
        let y_workspace = vec![N::zero(); n];
        let pattern_workspace = DStack::with_capacity(n);
        let mut ldl_numeric = LdlNumeric {
            symbolic: self,
            l_indices: l_indices,
            l_data: l_data,
            diag: diag,
            y_workspace: y_workspace,
            pattern_workspace: pattern_workspace,
        };
        ldl_numeric.update(mat);
        ldl_numeric
    }
pub fn factor < N > ( self , mat : CsMatViewI < N , I > ) -> LdlNumeric < N , I > where N : Copy + Num + PartialOrd , { let n = self . problem_size ( ) ; let nnz = self . nnz ( ) ; let l_indices = vec ! [ I zero ( ) nnz ] ; let l_data = vec ! [ N zero ( ) nnz ] ; let diag = vec ! [ N zero ( ) n ] ; let y_workspace = vec ! [ N zero ( ) n ] ; let pattern_workspace = DStack :: with_capacity ( n ) ; let mut ldl_numeric = LdlNumeric { symbolic : self , l_indices : l_indices , l_data : l_data , diag : diag , y_workspace : y_workspace , pattern_workspace : pattern_workspace , } ; ldl_numeric . update ( mat ) ; ldl_numeric }
Compute the numerical decomposition of the given matrix.
Compute the numerical decomposition of the given matrix .
self
mat
CsMatViewI<N, I>
self
mat
CsMatViewI<N, I>