Improve the performance of DenseQRSolver

1. Reduce amount of reallocations.

Change-Id: I91b17c781ae94ed12014d647f0162cfce4f6ed7b
This commit is contained in:
Sameer Agarwal
2012-10-05 10:06:27 -07:00
parent ba8d967f8c
commit 5bfa7e4e8f
7 changed files with 55 additions and 21 deletions
+1
View File
@@ -57,6 +57,7 @@ class DenseSparseMatrix : public SparseMatrix {
#endif
DenseSparseMatrix(int num_rows, int num_cols);
DenseSparseMatrix(int num_rows, int num_cols, bool reserve_diagonal);
virtual ~DenseSparseMatrix() {}