Home
last modified time | relevance | path

Searched refs:row_block_id (Results 1 – 10 of 10) sorted by relevance

/external/ceres-solver/internal/ceres/
Dblock_random_access_diagonal_matrix_test.cc55 const int row_block_id = i; in TEST() local
64 CellInfo* cell = m.GetCell(row_block_id, col_block_id, in TEST()
76 EXPECT_EQ(row_stride, blocks[row_block_id]); in TEST()
81 row, col, blocks[row_block_id], blocks[col_block_id]) = in TEST()
82 (row_block_id + 1) * (col_block_id +1) * in TEST()
83 Matrix::Ones(blocks[row_block_id], blocks[col_block_id]); in TEST()
Dblock_random_access_sparse_matrix.cc100 const int row_block_id = it->first; in BlockRandomAccessSparseMatrix() local
102 const int row_block_size = blocks_[row_block_id]; in BlockRandomAccessSparseMatrix()
105 layout_[IntPairToLong(row_block_id, col_block_id)]->values - values; in BlockRandomAccessSparseMatrix()
108 rows[pos] = col_layout[row_block_id] + r; in BlockRandomAccessSparseMatrix()
128 CellInfo* BlockRandomAccessSparseMatrix::GetCell(int row_block_id, in GetCell() argument
135 layout_.find(IntPairToLong(row_block_id, col_block_id)); in GetCell()
143 *row_stride = blocks_[row_block_id]; in GetCell()
Dblock_random_access_sparse_matrix_test.cc69 const int row_block_id = it->first; in TEST() local
75 CellInfo* cell = m.GetCell(row_block_id, col_block_id, in TEST()
81 EXPECT_EQ(row_stride, blocks[row_block_id]); in TEST()
86 row, col, blocks[row_block_id], blocks[col_block_id]) = in TEST()
87 (row_block_id + 1) * (col_block_id +1) * in TEST()
88 Matrix::Ones(blocks[row_block_id], blocks[col_block_id]); in TEST()
Dblock_random_access_diagonal_matrix.cc91 CellInfo* BlockRandomAccessDiagonalMatrix::GetCell(int row_block_id, in GetCell() argument
97 if (row_block_id != col_block_id) { in GetCell()
100 const int stride = blocks_[row_block_id]; in GetCell()
107 return layout_[row_block_id]; in GetCell()
Dblock_random_access_dense_matrix.cc66 CellInfo* BlockRandomAccessDenseMatrix::GetCell(const int row_block_id, in GetCell() argument
72 *row = block_layout_[row_block_id]; in GetCell()
76 return &cell_infos_[row_block_id * block_layout_.size() + col_block_id]; in GetCell()
Dcompressed_col_sparse_matrix_utils_test.cc89 const int row_block_id, in FillBlock() argument
94 for (int i = 0; i < row_block_id; ++i) { in FillBlock()
104 for (int r = 0; r < row_blocks[row_block_id]; ++r) { in FillBlock()
139 #define CERES_TEST_FILL_BLOCK(row_block_id, col_block_id) \ in TEST() argument
141 row_block_id, col_block_id, \ in TEST()
Dblock_random_access_matrix.h112 virtual CellInfo* GetCell(int row_block_id,
Dblock_random_access_dense_matrix.h66 virtual CellInfo* GetCell(int row_block_id,
Dblock_random_access_diagonal_matrix.h62 virtual CellInfo* GetCell(int row_block_id,
Dblock_random_access_sparse_matrix.h67 virtual CellInfo* GetCell(int row_block_id,