complete all methods of SparseMatrix