Home | History | Annotate | Download | only in ceres

Lines Matching refs:cols

47 // duplicates in the pair of arrays rows and cols, i.e., there is no
50 // rows[i] == rows[j] && cols[i] == cols[j]
54 RowColLessThan(const int* rows, const int* cols)
55 : rows(rows), cols(cols) {
60 return (cols[x] < cols[y]);
66 const int* cols;
107 sort(index.begin(), index.end(), RowColLessThan(m.rows(), m.cols()));
117 // Copy the contents of the cols and values array in the order given
122 cols_[i] = m.cols()[idx];
247 copy(m.cols(), m.cols() + m.num_nonzeros(), &cols_[num_nonzeros()]);
280 matrix->cols = cols_;
285 matrix->cols.resize(matrix->rows[matrix->num_rows]);
330 int* cols = matrix->mutable_cols();
342 *(cols++) = col_cursor + c;
498 product.push_back(ProductTerm(m.cols()[idx1], m.cols()[idx2], product.size()));