Home
last modified time | relevance | path

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

/external/ceres-solver/internal/ceres/
Dtriplet_sparse_matrix_test.cc44 EXPECT_EQ(m.max_num_nonzeros(), 0); in TEST()
53 EXPECT_EQ(m.max_num_nonzeros(), 4); in TEST()
73 EXPECT_EQ(m.max_num_nonzeros(), 50); in TEST()
76 EXPECT_EQ(m.max_num_nonzeros(), 50); // The space is already reserved. in TEST()
117 EXPECT_EQ(cpy.max_num_nonzeros(), 4); in TEST()
163 EXPECT_EQ(cpy.max_num_nonzeros(), 4); in TEST()
Dtriplet_sparse_matrix.h49 TripletSparseMatrix(int num_rows, int num_cols, int max_num_nonzeros);
90 int max_num_nonzeros() const { return max_num_nonzeros_; } in max_num_nonzeros() function
Dtriplet_sparse_matrix.cc57 int max_num_nonzeros) in TripletSparseMatrix() argument
60 max_num_nonzeros_(max_num_nonzeros), in TripletSparseMatrix()
68 CHECK_GE(max_num_nonzeros, 0); in TripletSparseMatrix()
Dcompressed_row_sparse_matrix.cc74 int max_num_nonzeros) { in CompressedRowSparseMatrix() argument
78 cols_.resize(max_num_nonzeros, 0); in CompressedRowSparseMatrix()
79 values_.resize(max_num_nonzeros, 0.0); in CompressedRowSparseMatrix()
97 values_.resize(m.max_num_nonzeros(), 0.0); in CompressedRowSparseMatrix()
Dsuitesparse.cc60 triplet.nzmax = A->max_num_nonzeros(); in CreateSparseMatrix()
80 triplet.nzmax = A->max_num_nonzeros(); in CreateSparseMatrixTranspose()
Dblock_random_access_diagonal_matrix_test.cc89 EXPECT_EQ(tsm->max_num_nonzeros(), num_nonzeros); in TEST()
Dcompressed_row_sparse_matrix.h72 int max_num_nonzeros);
Dblock_random_access_sparse_matrix_test.cc93 EXPECT_EQ(tsm->max_num_nonzeros(), num_nonzeros); in TEST()
Dprogram.cc408 if (num_nonzeros >= tsm->max_num_nonzeros()) { in CreateJacobianBlockSparsityTranspose()