예제 #1
0
 def _solveM(self, rhs):
     A = self.A
     return TriSolve.backward(A.data, A.indptr, A.indices, rhs, self.A.nnz, *rhs.shape)
예제 #2
0
 def _solveM(self, rhs):
     A = self.A
     return TriSolve.backward(A.data, A.indptr, A.indices, rhs, self.A.nnz,
                              *rhs.shape)
예제 #3
0
 def _solve1(self, rhs):
     A = self.A
     x = TriSolve.backward(A.data, A.indptr, A.indices, rhs, self.A.nnz, rhs.size, 1)
     return x.flatten()
예제 #4
0
 def _solve1(self, rhs):
     A = self.A
     x = TriSolve.backward(A.data, A.indptr, A.indices, rhs, self.A.nnz,
                           rhs.size, 1)
     return x.flatten()