Searched refs:new_max_num_nonzeros (Results 1 – 2 of 2) sorted by relevance
105 void TripletSparseMatrix::Reserve(int new_max_num_nonzeros) { in Reserve() argument106 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()
76 void Reserve(int new_max_num_nonzeros);