00001
00003 inline const _zhematrix& operator+(const _zhematrix& mat)
00004 {
00005 #ifdef CPPL_VERBOSE
00006 std::cerr << "# [MARK] operator+(const _zhematrix&)"
00007 << std::endl;
00008 #endif//CPPL_VERBOSE
00009
00010 return mat;
00011 }
00012
00013
00015 inline _zhematrix operator-(const _zhematrix& mat)
00016 {
00017 #ifdef CPPL_VERBOSE
00018 std::cerr << "# [MARK] operator-(const _zhematrix&)"
00019 << std::endl;
00020 #endif//CPPL_VERBOSE
00021
00022 for(long i=0; i<mat.N; i++){ for(long j=0; j<=i; j++){
00023 mat.Array[i+mat.N*j]=-mat.Array[i+mat.N*j];
00024 }}
00025
00026 return mat;
00027 }