Home | History | Annotate | Download | only in ceres

Lines Matching full:matrix

56   // Count the number of columns in the matrix.
62 // the matrix.
162 void BlockSparseMatrix::ToDenseMatrix(Matrix* dense_matrix) const {
167 Matrix& m = *dense_matrix;
185 TripletSparseMatrix* matrix) const {
186 CHECK_NOTNULL(matrix);
188 matrix->Reserve(num_nonzeros_);
189 matrix->Resize(num_rows_, num_cols_);
190 matrix->SetZero();
203 matrix->mutable_rows()[jac_pos] = row_block_pos + r;
204 matrix->mutable_cols()[jac_pos] = col_block_pos + c;
205 matrix->mutable_values()[jac_pos] = values_[jac_pos];
210 matrix->set_num_nonzeros(num_nonzeros_);