13 #ifndef __SGSPARSEMATRIX_H__
14 #define __SGSPARSEMATRIX_H__
25 template <
class T>
class SGSparseVector;
26 template<
class T>
class SGMatrix;
29 class CRegressionLabels;
32 template <
class T>
class SGSparseMatrix :
public SGReferencedData
40 index_t num_vec,
bool ref_counting=
true);
87 "Dimension mismatch! %d vs %d\n",
107 REQUIRE(i_row>=0,
"index %d negative!\n", i_row);
108 REQUIRE(i_col>=0,
"index %d negative!\n", i_col);
128 REQUIRE(i_row>=0,
"index %d negative!\n", i_row);
129 REQUIRE(i_col>=0,
"index %d negative!\n", i_col);
214 #endif // __SGSPARSEMATRIX_H__