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