Add function to Sparse
This commit is contained in:
@@ -41,4 +41,11 @@ namespace Aurora
|
||||
{
|
||||
return mValueVector;
|
||||
}
|
||||
size_t Sparse::getM() const{
|
||||
return mM;
|
||||
}
|
||||
|
||||
size_t Sparse::getN() const{
|
||||
return mN;
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,8 @@ namespace Aurora {
|
||||
Matrix& getColVector() ;
|
||||
Matrix& getRowVector() ;
|
||||
Matrix& getValVector() ;
|
||||
|
||||
size_t getM() const ;
|
||||
size_t getN() const;
|
||||
// TODO:add operators
|
||||
private:
|
||||
Matrix mColIdxVector;
|
||||
|
||||
Reference in New Issue
Block a user