Add BlockRandomAccessCRSMatrix.

Change-Id: I4b88402e2216c6ea2728472e2f89479d368dbd4b
This commit is contained in:
Sameer Agarwal
2013-03-20 17:57:20 -07:00
parent aa20a6dc1b
commit b99550dc9a
5 changed files with 428 additions and 1 deletions
@@ -74,7 +74,6 @@ class BlockRandomAccessSparseMatrix : public BlockRandomAccessMatrix {
// This is not a thread safe method, it assumes that no cell is
// locked.
virtual void SetZero();
virtual bool IsThreadSafe() const { return true; }
// Since the matrix is square, num_rows() == num_cols().
virtual int num_rows() const { return tsm_->num_rows(); }