dynamic_compressed_row_sparse_matrix_test.cc | 61 dcrsm.reset(new DynamicCompressedRowSparseMatrix(num_rows, 67 dcrsm->Finalize(num_additional_elements); 120 dcrsm->InsertEntry(r, c, v); 127 EXPECT_EQ(dcrsm->num_rows(), num_rows); 128 EXPECT_EQ(dcrsm->num_cols(), num_cols); 129 EXPECT_EQ(dcrsm->num_nonzeros(), 0); 132 dcrsm->ToDenseMatrix(&dense_from_dcrsm); 140 dcrsm->ToDenseMatrix(&dense_from_dcrsm); 148 ConstIntVectorRef dcrsm_rows(dcrsm->rows(), dcrsm->num_rows() + 1) 171 scoped_ptr<DynamicCompressedRowSparseMatrix> dcrsm; member in class:ceres::internal::DynamicCompressedRowSparseMatrixTest [all...] |