Home
last modified time | relevance | path

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

/external/ceres-solver/internal/ceres/
Dtriplet_sparse_matrix.cc105 void TripletSparseMatrix::Reserve(int new_max_num_nonzeros) { in Reserve() argument
106 CHECK_LE(num_nonzeros_, new_max_num_nonzeros) in Reserve()
110 if (new_max_num_nonzeros <= max_num_nonzeros_) in Reserve()
113 int* new_rows = new int[new_max_num_nonzeros]; in Reserve()
114 int* new_cols = new int[new_max_num_nonzeros]; in Reserve()
115 double* new_values = new double[new_max_num_nonzeros]; in Reserve()
127 max_num_nonzeros_ = new_max_num_nonzeros; in Reserve()
Dtriplet_sparse_matrix.h76 void Reserve(int new_max_num_nonzeros);