Searched refs:crsm (Results 1 – 5 of 5) sorted by relevance
/external/ceres-solver/internal/ceres/ |
D | compressed_row_sparse_matrix_test.cc | 78 crsm.reset(new CompressedRowSparseMatrix(*tsm)); in SetUp() 83 vector<int>* row_blocks = crsm->mutable_row_blocks(); in SetUp() 87 vector<int>* col_blocks = crsm->mutable_col_blocks(); in SetUp() 96 scoped_ptr<CompressedRowSparseMatrix> crsm; member in ceres::internal::CompressedRowSparseMatrixTest 100 CompareMatrices(tsm.get(), crsm.get()); in TEST_F() 112 crsm->LeftMultiply(a.data(), b2.data()); in TEST_F() 123 crsm->SquaredColumnNorm(b2.data()); in TEST_F() 135 crsm->ScaleColumns(scale.data()); in TEST_F() 136 CompareMatrices(tsm.get(), crsm.get()); in TEST_F() 141 crsm->mutable_row_blocks()->clear(); in TEST_F() [all …]
|
D | dynamic_compressed_row_sparse_matrix_test.cc | 109 crsm.reset(new CompressedRowSparseMatrix(*tsm)); in InitialiseSparseMatrixReferences() 111 crsm->ToDenseMatrix(&dense_from_crsm); in InitialiseSparseMatrixReferences() 147 ConstIntVectorRef crsm_rows(crsm->rows(), crsm->num_rows() + 1); in ExpectEqualToCompressedRowSparseMatrixReference() 151 ConstIntVectorRef crsm_cols(crsm->cols(), crsm->num_nonzeros()); in ExpectEqualToCompressedRowSparseMatrixReference() 155 ConstVectorRef crsm_values(crsm->values(), crsm->num_nonzeros()); in ExpectEqualToCompressedRowSparseMatrixReference() 169 scoped_ptr<CompressedRowSparseMatrix> crsm; member in ceres::internal::DynamicCompressedRowSparseMatrixTest
|
D | covariance_test.cc | 101 const CompressedRowSparseMatrix* crsm = covariance_impl.covariance_matrix(); in TEST() local 103 EXPECT_EQ(crsm->num_rows(), 10); in TEST() 104 EXPECT_EQ(crsm->num_cols(), 10); in TEST() 105 EXPECT_EQ(crsm->num_nonzeros(), 40); in TEST() 107 const int* rows = crsm->rows(); in TEST() 108 for (int r = 0; r < crsm->num_rows() + 1; ++r) { in TEST() 115 const int* cols = crsm->cols(); in TEST() 116 for (int c = 0; c < crsm->num_nonzeros(); ++c) { in TEST()
|
D | schur_complement_solver.cc | 469 CompressedRowSparseMatrix crsm(*tsm); in SolveReducedLinearSystemUsingEigen() 472 crsm.num_rows(), in SolveReducedLinearSystemUsingEigen() 473 crsm.num_rows(), in SolveReducedLinearSystemUsingEigen() 474 crsm.num_nonzeros(), in SolveReducedLinearSystemUsingEigen() 475 crsm.mutable_rows(), in SolveReducedLinearSystemUsingEigen() 476 crsm.mutable_cols(), in SolveReducedLinearSystemUsingEigen() 477 crsm.mutable_values()); in SolveReducedLinearSystemUsingEigen()
|
D | unsymmetric_linear_solver_test.cc | 74 CompressedRowSparseMatrix* crsm = new CompressedRowSparseMatrix(*A_); in TestSolver() local 77 crsm->mutable_row_blocks()->push_back(1); in TestSolver() 81 crsm->mutable_col_blocks()->push_back(1); in TestSolver() 83 transformed_A.reset(crsm); in TestSolver()
|