//=============================================================================
/*! +_dssmatrix operator */
inline const _dssmatrix& operator+(const _dssmatrix& mat)
{
#ifdef CPPL_VERBOSE
std::cerr << "# [MARK] operator+(const _dssmatrix&)" << std::endl;
#endif//CPPL_VERBOSE
return mat;
}
//=============================================================================
/*! -_dssmatrix operator */
inline _dssmatrix operator-(const _dssmatrix& mat)
{
#ifdef CPPL_VERBOSE
std::cerr << "# [MARK] operator-(const _dssmatrix&)" << std::endl;
#endif//CPPL_VERBOSE
for(std::vector<dcomponent>::iterator it=mat.Data.begin(); it!=mat.Data.end(); it++){
it->v =-it->v;
}
return mat;
}