Lines Matching refs:cc_
48 cholmod_start(&cc_); in SuiteSparse()
52 cholmod_finish(&cc_); in ~SuiteSparse()
70 return cholmod_triplet_to_sparse(&triplet, triplet.nnz, &cc_); in CreateSparseMatrix()
92 return cholmod_triplet_to_sparse(&triplet, triplet.nnz, &cc_); in CreateSparseMatrixTranspose()
120 cholmod_dense* v = cholmod_zeros(out_size, 1, CHOLMOD_REAL, &cc_); in CreateDenseVector()
133 cc_.nmethods = 1; in AnalyzeCholesky()
134 cc_.method[0].ordering = CHOLMOD_AMD; in AnalyzeCholesky()
135 cc_.supernodal = CHOLMOD_AUTO; in AnalyzeCholesky()
137 cholmod_factor* factor = cholmod_analyze(A, &cc_); in AnalyzeCholesky()
139 cholmod_print_common(const_cast<char*>("Symbolic Analysis"), &cc_); in AnalyzeCholesky()
142 if (cc_.status != CHOLMOD_OK) { in AnalyzeCholesky()
144 cc_.status); in AnalyzeCholesky()
169 cc_.nmethods = 1; in AnalyzeCholeskyWithUserOrdering()
170 cc_.method[0].ordering = CHOLMOD_GIVEN; in AnalyzeCholeskyWithUserOrdering()
173 cholmod_analyze_p(A, const_cast<int*>(&ordering[0]), NULL, 0, &cc_); in AnalyzeCholeskyWithUserOrdering()
175 cholmod_print_common(const_cast<char*>("Symbolic Analysis"), &cc_); in AnalyzeCholeskyWithUserOrdering()
177 if (cc_.status != CHOLMOD_OK) { in AnalyzeCholeskyWithUserOrdering()
179 cc_.status); in AnalyzeCholeskyWithUserOrdering()
189 cc_.nmethods = 1; in AnalyzeCholeskyWithNaturalOrdering()
190 cc_.method[0].ordering = CHOLMOD_NATURAL; in AnalyzeCholeskyWithNaturalOrdering()
191 cc_.postorder = 0; in AnalyzeCholeskyWithNaturalOrdering()
193 cholmod_factor* factor = cholmod_analyze(A, &cc_); in AnalyzeCholeskyWithNaturalOrdering()
195 cholmod_print_common(const_cast<char*>("Symbolic Analysis"), &cc_); in AnalyzeCholeskyWithNaturalOrdering()
197 if (cc_.status != CHOLMOD_OK) { in AnalyzeCholeskyWithNaturalOrdering()
199 cc_.status); in AnalyzeCholeskyWithNaturalOrdering()
240 if (!cholmod_amd(&block_matrix, NULL, 0, &block_ordering[0], &cc_)) { in BlockAMDOrdering()
258 const int old_print_level = cc_.print; in Cholesky()
259 cc_.print = 0; in Cholesky()
261 cc_.quick_return_if_not_posdef = 1; in Cholesky()
262 int cholmod_status = cholmod_factorize(A, L, &cc_); in Cholesky()
263 cc_.print = old_print_level; in Cholesky()
272 switch (cc_.status) { in Cholesky()
305 cc_.status); in Cholesky()
315 if (cc_.status != CHOLMOD_OK) { in Solve()
320 return cholmod_solve(CHOLMOD_A, L, b, &cc_); in Solve()
325 return cholmod_amd(matrix, NULL, 0, ordering, &cc_); in ApproximateMinimumDegreeOrdering()
333 return cholmod_camd(matrix, NULL, 0, constraints, ordering, &cc_); in ConstrainedApproximateMinimumDegreeOrdering()