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