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