Add Sparse functions.
This commit is contained in:
@@ -26,4 +26,19 @@ namespace Aurora
|
||||
&& mColIdxVector.getDataSize() == mRowIdxVector.getDataSize()
|
||||
&& mColIdxVector.getDataSize() == mValueVector.getDataSize();
|
||||
}
|
||||
|
||||
Matrix& Sparse::getColVector()
|
||||
{
|
||||
return mColIdxVector;
|
||||
}
|
||||
|
||||
Matrix& Sparse::getRowVector()
|
||||
{
|
||||
return mRowIdxVector;
|
||||
}
|
||||
|
||||
Matrix& Sparse::getValVector()
|
||||
{
|
||||
return mValueVector;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user