Home | History | Annotate | Download | only in ceres

Lines Matching refs:Transpose

357 CompressedRowSparseMatrix* CompressedRowSparseMatrix::Transpose() const {
358 CompressedRowSparseMatrix* transpose =
361 int* transpose_rows = transpose->mutable_rows();
362 int* transpose_cols = transpose->mutable_cols();
363 double* transpose_values = transpose->mutable_values();
369 for (int i = 1; i < transpose->num_rows() + 1; ++i) {
382 for (int i = transpose->num_rows() - 1; i > 0 ; --i) {
387 *(transpose->mutable_row_blocks()) = col_blocks_;
388 *(transpose->mutable_col_blocks()) = row_blocks_;
390 return transpose;