Home
last modified time | relevance | path

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

/external/ceres-solver/internal/ceres/
Dcompressed_row_sparse_matrix_test.cc219 CRSMatrix crs_matrix; in TEST_F() local
220 crsm->ToCRSMatrix(&crs_matrix); in TEST_F()
221 EXPECT_EQ(crsm->num_rows(), crs_matrix.num_rows); in TEST_F()
222 EXPECT_EQ(crsm->num_cols(), crs_matrix.num_cols); in TEST_F()
223 EXPECT_EQ(crsm->num_rows() + 1, crs_matrix.rows.size()); in TEST_F()
224 EXPECT_EQ(crsm->num_nonzeros(), crs_matrix.cols.size()); in TEST_F()
225 EXPECT_EQ(crsm->num_nonzeros(), crs_matrix.values.size()); in TEST_F()
228 EXPECT_EQ(crsm->rows()[i], crs_matrix.rows[i]); in TEST_F()
232 EXPECT_EQ(crsm->cols()[i], crs_matrix.cols[i]); in TEST_F()
233 EXPECT_EQ(crsm->values()[i], crs_matrix.values[i]); in TEST_F()