//=============================================================================
/*! nullify all the matrix data */
inline void _dssmatrix::nullify() const
{
#ifdef CPPL_VERBOSE
std::cerr << "# [MARK] _dssmatrix::nullify() const"
<< std::endl;
#endif//CPPL_VERBOSE
N=0;
CAP=0;
VOL=0;
Array=NULL;
Indx=NULL;
Jndx=NULL;
Line=NULL;
}
//=============================================================================
/*! destroy all the matrix data */
inline void _dssmatrix::destroy() const
{
#ifdef CPPL_VERBOSE
std::cerr << "# [MARK] _dssmatrix::destroy() const"
<< std::endl;
#endif//CPPL_VERBOSE
#ifdef CPPL_DEBUG
std::cerr << "# [NOTE] _dssmatrix::destroy() " << " An array at " << Array << " is going to be destroyed." << std::endl;
#endif//CPPL_DEBUG
delete [] Array; Array=NULL;
delete [] Indx; Indx=NULL;
delete [] Jndx; Jndx=NULL;
delete [] Line; Line=NULL;
}