//=============================================================================
/*! nullify all the matrix data */
inline void _dgsmatrix::nullify() const
{
#ifdef CPPL_VERBOSE
std::cerr << "# [MARK] _dgsmatrix::nullify() const" << std::endl;
#endif//CPPL_VERBOSE
M=0;
N=0;
Data.clear();
Rows.clear();
Cols.clear();
}
//=============================================================================
/*! destroy all the matrix data */
inline void _dgsmatrix::destroy() const
{
#ifdef CPPL_VERBOSE
std::cerr << "# [MARK] _dgsmatrix::destroy() const" << std::endl;
std::cerr << "# [NOTE] _dgsmatrix::destroy() const" << " An array at " << Array << " is going to be destroyed." << std::endl;
#endif//CPPL_VERBOSE
Data.clear();
Rows.clear();
Cols.clear();
}