CPPLapack
 All Classes Files Functions Variables Friends
_zhsmatrix-double.hpp
Go to the documentation of this file.
00001 //=============================================================================
00002 /*! _zhsmatrix*double operator */
00003 inline _zhsmatrix operator*(const _zhsmatrix& mat, const double& d)
00004 {VERBOSE_REPORT;
00005   for(std::vector<zcomponent>::iterator it=mat.data.begin(); it!=mat.data.end(); it++){
00006     it->v *=d;
00007   }
00008   return mat;
00009 }
00010 
00011 //=============================================================================
00012 /*! _zhsmatrix/double operator */
00013 inline _zhsmatrix operator/(const _zhsmatrix& mat, const double& d)
00014 {VERBOSE_REPORT;
00015   for(std::vector<zcomponent>::iterator it=mat.data.begin(); it!=mat.data.end(); it++){
00016     it->v /=d;
00017   }
00018   return mat;
00019 }
 All Classes Files Functions Variables Friends