• Home
  • Raw
  • Download

Lines Matching refs:triplet

56   cholmod_triplet triplet;  in CreateSparseMatrix()  local
58 triplet.nrow = A->num_rows(); in CreateSparseMatrix()
59 triplet.ncol = A->num_cols(); in CreateSparseMatrix()
60 triplet.nzmax = A->max_num_nonzeros(); in CreateSparseMatrix()
61 triplet.nnz = A->num_nonzeros(); in CreateSparseMatrix()
62 triplet.i = reinterpret_cast<void*>(A->mutable_rows()); in CreateSparseMatrix()
63 triplet.j = reinterpret_cast<void*>(A->mutable_cols()); in CreateSparseMatrix()
64 triplet.x = reinterpret_cast<void*>(A->mutable_values()); in CreateSparseMatrix()
65 triplet.stype = 0; // Matrix is not symmetric. in CreateSparseMatrix()
66 triplet.itype = CHOLMOD_INT; in CreateSparseMatrix()
67 triplet.xtype = CHOLMOD_REAL; in CreateSparseMatrix()
68 triplet.dtype = CHOLMOD_DOUBLE; in CreateSparseMatrix()
70 return cholmod_triplet_to_sparse(&triplet, triplet.nnz, &cc_); in CreateSparseMatrix()
76 cholmod_triplet triplet; in CreateSparseMatrixTranspose() local
78 triplet.ncol = A->num_rows(); // swap row and columns in CreateSparseMatrixTranspose()
79 triplet.nrow = A->num_cols(); in CreateSparseMatrixTranspose()
80 triplet.nzmax = A->max_num_nonzeros(); in CreateSparseMatrixTranspose()
81 triplet.nnz = A->num_nonzeros(); in CreateSparseMatrixTranspose()
84 triplet.j = reinterpret_cast<void*>(A->mutable_rows()); in CreateSparseMatrixTranspose()
85 triplet.i = reinterpret_cast<void*>(A->mutable_cols()); in CreateSparseMatrixTranspose()
86 triplet.x = reinterpret_cast<void*>(A->mutable_values()); in CreateSparseMatrixTranspose()
87 triplet.stype = 0; // Matrix is not symmetric. in CreateSparseMatrixTranspose()
88 triplet.itype = CHOLMOD_INT; in CreateSparseMatrixTranspose()
89 triplet.xtype = CHOLMOD_REAL; in CreateSparseMatrixTranspose()
90 triplet.dtype = CHOLMOD_DOUBLE; in CreateSparseMatrixTranspose()
92 return cholmod_triplet_to_sparse(&triplet, triplet.nnz, &cc_); in CreateSparseMatrixTranspose()