Go to the documentation of this file.00001
00002
00003 inline zgsmatrix& zgsmatrix::operator*=(const comple& d)
00004 {VERBOSE_REPORT;
00005 for(std::vector<zcomponent>::iterator it=data.begin(); it!=data.end(); it++){
00006 it->v *=d;
00007 }
00008 return *this;
00009 }
00010
00011
00012
00013 inline zgsmatrix& zgsmatrix::operator/=(const comple& d)
00014 {VERBOSE_REPORT;
00015 for(std::vector<zcomponent>::iterator it=data.begin(); it!=data.end(); it++){
00016 it->v /=d;
00017 }
00018 return *this;
00019 }
00020
00021
00022
00023
00024
00025
00026
00027 inline _zgsmatrix operator*(const zgsmatrix& mat, const comple& d)
00028 {VERBOSE_REPORT;
00029 zgsmatrix newmat(mat);
00030 for(std::vector<zcomponent>::iterator it=newmat.data.begin(); it!=mat.data.end(); it++){
00031 it->v *=d;
00032 }
00033 return _(newmat);
00034 }
00035
00036
00037
00038 inline _zgsmatrix operator/(const zgsmatrix& mat, const comple& d)
00039 {VERBOSE_REPORT;
00040 zgsmatrix newmat(mat);
00041 for(std::vector<zcomponent>::iterator it=newmat.data.begin(); it!=mat.data.end(); it++){
00042 it->v /=d;
00043 }
00044 return _(newmat);
00045 }