Home
last modified time | relevance | path

Searched refs:col_blocks (Results 1 – 11 of 11) sorted by relevance

/external/ceres-solver/internal/ceres/
Dcompressed_col_sparse_matrix_utils_test.cc88 const vector<int>& col_blocks, in FillBlock() argument
100 col_pos += col_blocks[i]; in FillBlock()
105 for (int c = 0; c < col_blocks[col_block_id]; ++c, ++offset) { in FillBlock()
122 vector<int> col_blocks; in TEST() local
123 col_blocks.push_back(1); in TEST()
124 col_blocks.push_back(2); in TEST()
125 col_blocks.push_back(3); in TEST()
126 col_blocks.push_back(2); in TEST()
140 offset += FillBlock(row_blocks, col_blocks, \ in TEST()
178 col_blocks, in TEST()
Dcompressed_row_sparse_matrix_test.cc87 vector<int>* col_blocks = crsm->mutable_col_blocks(); in SetUp() local
88 col_blocks->resize(num_cols); in SetUp()
89 std::fill(col_blocks->begin(), col_blocks->end(), 1); in SetUp()
181 const vector<int> pre_col_blocks = crsm->col_blocks(); in TEST_F()
191 const vector<int> post_col_blocks = crsm->col_blocks(); in TEST_F()
201 EXPECT_EQ(expected_col_blocks, crsm->col_blocks()); in TEST_F()
205 EXPECT_EQ(crsm->col_blocks(), pre_col_blocks); in TEST_F()
256 EXPECT_EQ(blocks, matrix->col_blocks()); in TEST()
391 ASSERT_EQ(transpose->row_blocks().size(), matrix.col_blocks().size()); in TEST()
393 EXPECT_EQ(transpose->row_blocks()[i], matrix.col_blocks()[i]); in TEST()
[all …]
Dcompressed_col_sparse_matrix_utils.cc44 const vector<int>& col_blocks, in CompressedColumnScalarMatrixToBlockMatrix() argument
50 const int num_col_blocks = col_blocks.size(); in CompressedColumnScalarMatrixToBlockMatrix()
89 c += col_blocks[col_block]; in CompressedColumnScalarMatrixToBlockMatrix()
Dsparse_normal_cholesky_solver.cc92 if (A->col_blocks().size() > 0) { in SolveImpl()
94 per_solve_options.D, A->col_blocks())); in SolveImpl()
278 A->col_blocks(), in SolveImplUsingCXSparse()
279 A->col_blocks()); in SolveImplUsingCXSparse()
337 A->col_blocks(), in SolveImplUsingSuiteSparse()
Dsuitesparse.cc154 const vector<int>& col_blocks, in BlockAnalyzeCholesky() argument
157 if (!BlockAMDOrdering(A, row_blocks, col_blocks, &ordering)) { in BlockAnalyzeCholesky()
208 const vector<int>& col_blocks, in BlockAMDOrdering() argument
211 const int num_col_blocks = col_blocks.size(); in BlockAMDOrdering()
221 col_blocks, in BlockAMDOrdering()
Dcxsparse.cc108 const vector<int>& col_blocks) { in BlockAnalyzeCholesky() argument
110 const int num_col_blocks = col_blocks.size(); in BlockAnalyzeCholesky()
117 col_blocks, in BlockAnalyzeCholesky()
Dcompressed_row_jacobian_writer.cc47 vector<int>& col_blocks = *(jacobian->mutable_col_blocks()); in PopulateJacobianRowAndColumnBlockVectors() local
48 col_blocks.resize(parameter_blocks.size()); in PopulateJacobianRowAndColumnBlockVectors()
50 col_blocks[i] = parameter_blocks[i]->LocalSize(); in PopulateJacobianRowAndColumnBlockVectors()
Dsuitesparse.h151 const vector<int>& col_blocks,
219 const vector<int>& col_blocks,
Dcxsparse.h111 const vector<int>& col_blocks);
Dcompressed_row_sparse_matrix.h115 const vector<int>& col_blocks() const { return col_blocks_; } in col_blocks() function
Dcompressed_col_sparse_matrix_utils.h53 const vector<int>& col_blocks,