pub fn solve<'a, V>(&self, rhs: &V) -> Vec<N>
    where N: 'a + Copy + Num,
          V: Deref<Target = [N]>
    {
        let mut x = &self.symbolic.perm * &rhs[..];
        let l = self.l_view();
        ldl_lsolve(&l, &mut x);
        linalg::diag_solve(&self.diag, &mut x);
        ldl_ltsolve(&l, &mut x);
        let pinv = self.symbolic.perm.inv();
        &pinv * &x
    }
/// Solve the system A x = rhs
Solve the system A x = rhs
Solve the system A x = rhs
pub fn solve<'a, V>(&self, rhs: &V) -> Vec<N>
    where N: 'a + Copy + Num,
          V: Deref<Target = [N]>
    {
        let mut x = &self.symbolic.perm * &rhs[..];
        let l = self.l_view();
        ldl_lsolve(&l, &mut x);
        linalg::diag_solve(&self.diag, &mut x);
        ldl_ltsolve(&l, &mut x);
        let pinv = self.symbolic.perm.inv();
        &pinv * &x
    }
pub fn solve < ' a , V > ( & self , rhs : & V ) -> Vec < N > where N : ' a + Copy + Num , V : Deref < Target = [ N ] > { let mut x = & self . symbolic . perm * & rhs [ .. ] ; let l = self . l_view ( ) ; ldl_lsolve ( & l , & mut x ) ; linalg :: diag_solve ( & self . diag , & mut x ) ; ldl_ltsolve ( & l , & mut x ) ; let pinv = self . symbolic . perm . inv ( ) ; & pinv * & x }
Solve the system A x = rhs
Solve the system A x = rhs
&self
rhs
&V
&self
rhs
&V