//=============================================================================
/*! nullify all the matrix data */
inline void _zgbmatrix::nullify() const
{
#ifdef CPPL_VERBOSE
std::cerr << "# [MARK] _zgbmatrix::nullify() const" << std::endl;
#endif//CPPL_VERBOSE
M=0;
N=0;
KL=0;
KU=0;
Array=NULL;
Darray=NULL;
}
//=============================================================================
/*! destroy all the matrix data */
inline void _zgbmatrix::destroy() const
{
#ifdef CPPL_VERBOSE
std::cerr << "# [MARK] _zgbmatrix::destroy() const" << std::endl;
#endif//CPPL_VERBOSE
#ifdef CPPL_VERBOSE
std::cerr << "# [NOTE] _zgbmatrix::destroy() const"
<< " An array at " << Array << " is going to be cleared." << std::endl;
#endif//CPPL_VERBOSE
delete [] Array; Array=NULL;
delete [] Darray; Darray=NULL;
}