CPPLapack
 All Classes Files Functions Variables Friends Pages
double-_zhsmatrix.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! double*_zhsmatrix operator */
3 inline _zhsmatrix operator*(const double& d, const _zhsmatrix& mat)
4 {CPPL_VERBOSE_REPORT;
5  const std::vector<zcomponent>::iterator mat_data_end =mat.data.end();
6  for(std::vector<zcomponent>::iterator it=mat.data.begin(); it!=mat_data_end; it++){
7  it->v *=d;
8  }
9 
10  return mat;
11 }
_zhsmatrix operator*(const double &d, const _zhsmatrix &mat)
std::vector< zcomponent > data
matrix data
Definition: _zhsmatrix.hpp:12
(DO NOT USE) Smart-temporary Complex Double-precision Hermitian Sparse Matrix Class ...
Definition: _zhsmatrix.hpp:3