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