00001 //============================================================================= 00002 /*! nullify all the matrix data */ 00003 inline void _zhematrix::nullify() const 00004 {VERBOSE_REPORT; 00005 n=0; 00006 array=NULL; 00007 darray=NULL; 00008 } 00009 00010 //============================================================================= 00011 /*! destroy all the matrix data */ 00012 inline void _zhematrix::destroy() const 00013 {VERBOSE_REPORT; 00014 delete [] array; 00015 delete [] darray; 00016 array=NULL; 00017 darray=NULL; 00018 } 00019 00020 //============================================================================= 00021 /*! complete the upper-right components */ 00022 inline void _zhematrix::complete() const 00023 {VERBOSE_REPORT; 00024 for(long i=0; i<n; i++){ 00025 for(long j=0; j<i; j++){ 00026 darray[i][j] =std::conj(darray[j][i]); 00027 } 00028 } 00029 } 00030