/external/ceres-solver/internal/ceres/ |
compressed_row_sparse_matrix.cc | 95 cols_.resize(m.num_nonzeros(), 0); 99 vector<int> index(m.num_nonzeros(), 0); 100 for (int i = 0; i < m.num_nonzeros(); ++i) { 118 for (int i = 0; i < m.num_nonzeros(); ++i) { 130 CHECK_EQ(num_nonzeros(), m.num_nonzeros()); 150 CHECK_EQ(num_nonzeros(), num_rows); 223 if (cols_.size() < num_nonzeros() + m.num_nonzeros()) { 224 cols_.resize(num_nonzeros() + m.num_nonzeros()) 294 int num_nonzeros = 0; local [all...] |
block_random_access_sparse_matrix_test.cc | 49 int num_nonzeros = 0; local 51 num_nonzeros += blocks[0] * blocks[0]; 54 num_nonzeros += blocks[1] * blocks[1]; 57 num_nonzeros += blocks[1] * blocks[2]; 60 num_nonzeros += blocks[2] * blocks[0]; 92 EXPECT_EQ(tsm->num_nonzeros(), num_nonzeros); 93 EXPECT_EQ(tsm->max_num_nonzeros(), num_nonzeros);
|
block_random_access_crs_matrix_test.cc | 49 int num_nonzeros = 0; local 51 num_nonzeros += blocks[0] * blocks[0]; 54 num_nonzeros += blocks[1] * blocks[1]; 57 num_nonzeros += blocks[1] * blocks[2]; 60 num_nonzeros += blocks[2] * blocks[0]; 90 EXPECT_EQ(crsm->num_nonzeros(), num_nonzeros);
|
block_random_access_sparse_matrix.cc | 66 int num_nonzeros = 0; local 72 num_nonzeros += row_block_size * col_block_size; 77 << "] " << num_nonzeros; local 79 tsm_.reset(new TripletSparseMatrix(num_cols, num_cols, num_nonzeros)); 80 tsm_->set_num_nonzeros(num_nonzeros); 151 if (tsm_->num_nonzeros()) { 153 tsm_->num_nonzeros()).setZero();
|
incomplete_lq_factorization.cc | 122 int num_nonzeros = rows[matrix->num_rows()]; local 126 rows[matrix->num_rows()] = num_nonzeros; 154 cols[num_nonzeros] = entry.first; 155 values[num_nonzeros] = entry.second; 156 ++num_nonzeros; 160 rows[matrix->num_rows()] = num_nonzeros; 230 l_cols[l->num_nonzeros()] = i; 231 l_values[l->num_nonzeros()] = NormalizeRow(i, &q);
|
triplet_sparse_matrix_test.cc | 43 EXPECT_EQ(m.num_nonzeros(), 0); 52 EXPECT_EQ(m.num_nonzeros(), 0); 64 EXPECT_EQ(m.num_nonzeros(), 2); 97 EXPECT_EQ(m.num_nonzeros(), 0); 116 ASSERT_EQ(cpy.num_nonzeros(), 2); 162 ASSERT_EQ(cpy.num_nonzeros(), 2); 207 ASSERT_EQ(m.num_nonzeros(), 5); 260 ASSERT_EQ(m.num_nonzeros(), 5); 290 ASSERT_EQ(m->num_nonzeros(), 10); 312 ASSERT_EQ(m.num_nonzeros(), 30) [all...] |
block_sparse_matrix_test.cc | 59 CHECK_EQ(A_->num_nonzeros(), B_->num_nonzeros()); 68 EXPECT_EQ(13, A_->num_nonzeros());
|
incomplete_lq_factorization_test.cc | 51 for (int i = 0; i < actual.num_nonzeros(); ++i) { 139 EXPECT_EQ(matrix.num_nonzeros(), 1); 147 EXPECT_EQ(matrix.num_nonzeros(), 7); 157 EXPECT_EQ(matrix.num_nonzeros(), 10); 171 EXPECT_EQ(matrix.num_nonzeros(), 14); 187 EXPECT_EQ(matrix.num_nonzeros(), 16);
|
block_random_access_crs_matrix.cc | 67 int num_nonzeros = 0; local 73 num_nonzeros += row_block_size * col_block_size; 78 << "] " << num_nonzeros; local 80 crsm_.reset(new CompressedRowSparseMatrix(num_cols, num_cols, num_nonzeros));
|
dense_sparse_matrix.cc | 70 int num_nonzeros = m.num_nonzeros(); local 72 for (int i = 0; i < num_nonzeros; ++i) { 140 int DenseSparseMatrix::num_nonzeros() const { function in class:ceres::internal::DenseSparseMatrix
|
triplet_sparse_matrix.cc | 135 void TripletSparseMatrix::set_num_nonzeros(int num_nonzeros) { 136 CHECK_GE(num_nonzeros, 0); 137 CHECK_LE(num_nonzeros, max_num_nonzeros_); 138 num_nonzeros_ = num_nonzeros;
|
cxsparse.cc | 169 At.nzmax = A->num_nonzeros(); 178 tsm_wrapper.nzmax = tsm->num_nonzeros();; 179 tsm_wrapper.nz = tsm->num_nonzeros();;
|
compressed_row_sparse_matrix_test.cc | 165 EXPECT_EQ(crsm->num_nonzeros(), crs_matrix.cols.size()); 166 EXPECT_EQ(crsm->num_nonzeros(), crs_matrix.values.size()); 172 for (int i = 0; i < crsm->num_nonzeros(); ++i) { 195 EXPECT_EQ(matrix->num_nonzeros(), 9);
|
covariance_impl.cc | 296 int num_nonzeros = 0; local 310 num_nonzeros += size1 * size2; 334 new CompressedRowSparseMatrix(num_rows, num_rows, num_nonzeros)); 607 const int num_nonzeros = jacobian.values.size(); local 610 vector<SuiteSparse_long> transpose_cols(num_nonzeros, 0); 611 vector<double> transpose_values(num_nonzeros, 0); 613 for (int idx = 0; idx < num_nonzeros; ++idx) { 639 cholmod_jacobian.nzmax = num_nonzeros;
|
sparse_matrix.h | 79 // A = 0. A->num_nonzeros() == 0 is true after this call. The 101 virtual int num_nonzeros() const = 0;
|
triplet_sparse_matrix.h | 66 virtual int num_nonzeros() const { return num_nonzeros_; } function in class:ceres::internal::TripletSparseMatrix 69 virtual void set_num_nonzeros(int num_nonzeros);
|
suitesparse.cc | 57 triplet.nnz = A->num_nonzeros(); 77 triplet.nnz = A->num_nonzeros(); 96 m.nzmax = A->num_nonzeros();
|
block_sparse_matrix.h | 80 virtual int num_nonzeros() const { return num_nonzeros_; } function in class:ceres::internal::BlockSparseMatrix
|
dense_sparse_matrix.h | 69 virtual int num_nonzeros() const;
|
iterative_schur_complement_solver_test.cc | 78 A_->num_nonzeros());
|
compressed_row_sparse_matrix.h | 91 virtual int num_nonzeros() const { return rows_[num_rows_]; } function in class:ceres::internal::CompressedRowSparseMatrix
|
schur_complement_solver_test.cc | 73 A->num_nonzeros());
|
solver_impl.cc | 1543 int num_nonzeros = 0; local [all...] |
compressed_col_sparse_matrix_utils_test.cc | 120 // num_nonzeros = 1 + 3 + 4 + 4 + 1 + 2 = 15
|
covariance_test.cc | 105 EXPECT_EQ(crsm->num_nonzeros(), 40); 116 for (int c = 0; c < crsm->num_nonzeros(); ++c) {
|