Home
last modified time | relevance | path

Searched refs:block_structure_ (Results 1 – 4 of 4) sorted by relevance

/external/ceres-solver/internal/ceres/
Dblock_sparse_matrix.cc53 block_structure_(block_structure) { in BlockSparseMatrix()
54 CHECK_NOTNULL(block_structure_.get()); in BlockSparseMatrix()
57 for (int i = 0; i < block_structure_->cols.size(); ++i) { in BlockSparseMatrix()
58 num_cols_ += block_structure_->cols[i].size; in BlockSparseMatrix()
63 for (int i = 0; i < block_structure_->rows.size(); ++i) { in BlockSparseMatrix()
64 int row_block_size = block_structure_->rows[i].block.size; in BlockSparseMatrix()
67 const vector<Cell>& cells = block_structure_->rows[i].cells; in BlockSparseMatrix()
70 int col_block_size = block_structure_->cols[col_block_id].size; in BlockSparseMatrix()
92 for (int i = 0; i < block_structure_->rows.size(); ++i) { in RightMultiply()
93 int row_block_pos = block_structure_->rows[i].block.position; in RightMultiply()
[all …]
Dblock_jacobi_preconditioner.cc46 block_structure_(*A.block_structure()) { in BlockJacobiPreconditioner()
49 for (int c = 0; c < block_structure_.cols.size(); ++c) { in BlockJacobiPreconditioner()
50 int size = block_structure_.cols[c].size; in BlockJacobiPreconditioner()
55 blocks_.resize(block_structure_.cols.size()); in BlockJacobiPreconditioner()
60 for (int c = 0; c < block_structure_.cols.size(); ++c) { in BlockJacobiPreconditioner()
61 int size = block_structure_.cols[c].size; in BlockJacobiPreconditioner()
106 const int size = block_structure_.cols[c].size; in UpdateImpl()
107 const int position = block_structure_.cols[c].position; in UpdateImpl()
124 for (int c = 0; c < block_structure_.cols.size(); ++c) { in RightMultiply()
125 const int size = block_structure_.cols[c].size; in RightMultiply()
[all …]
Dblock_jacobi_preconditioner.h74 const CompressedRowBlockStructure& block_structure_; variable
Dblock_sparse_matrix.h93 scoped_ptr<CompressedRowBlockStructure> block_structure_; variable