CPPLapack
 All Classes Files Functions Variables Friends Pages
Functions
double-_dssmatrix.hpp File Reference

Go to the source code of this file.

Functions

_dssmatrix operator* (const double &d, const _dssmatrix &mat)
 

Function Documentation

_dssmatrix operator* ( const double &  d,
const _dssmatrix mat 
)
inline

double*_dssmatrix operator

Definition at line 3 of file double-_dssmatrix.hpp.

References _dssmatrix::data.

4 {CPPL_VERBOSE_REPORT;
5  const std::vector<dcomponent>::iterator mat_data_end =mat.data.end();
6  for(std::vector<dcomponent>::iterator it=mat.data.begin(); it!=mat_data_end; it++){
7  it->v *=d;
8  }
9 
10  return mat;
11 }
std::vector< dcomponent > data
matrix data
Definition: _dssmatrix.hpp:12