00001 //============================================================================= 00002 /*! +zgematrix operator */ 00003 inline const zgematrix& operator+(const zgematrix& mat) 00004 {VERBOSE_REPORT; 00005 return mat; 00006 } 00007 00008 //============================================================================= 00009 /*! -zgematrix operator */ 00010 inline _zgematrix operator-(const zgematrix& mat) 00011 {VERBOSE_REPORT; 00012 zgematrix newmat(mat.m,mat.n); 00013 for(long i=0; i<newmat.m*newmat.n; i++){ newmat.array[i]=-mat.array[i]; } 00014 00015 return _(newmat); 00016 }