CPPLapack
 All Classes Files Functions Variables Friends Pages
Functions
complex-_zgsmatrix.hpp File Reference

Go to the source code of this file.

Functions

_zgsmatrix operator* (const comple &d, const _zgsmatrix &mat)
 

Function Documentation

_zgsmatrix operator* ( const comple &  d,
const _zgsmatrix mat 
)
inline

complex*_zgsmatrix operator

Definition at line 3 of file complex-_zgsmatrix.hpp.

References _zgsmatrix::data.

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 }
std::vector< zcomponent > data
matrix data
Definition: _zgsmatrix.hpp:11