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

Go to the source code of this file.

Functions

_zgsmatrix operator* (const double &d, const zgsmatrix &mat)

Function Documentation

_zgsmatrix operator* ( const double &  d,
const zgsmatrix mat 
) [inline]

double*zgsmatrix operator

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

References _(), and zgsmatrix::data.

{VERBOSE_REPORT;
  zgsmatrix newmat(mat);
  
  for(std::vector<zcomponent>::iterator it=newmat.data.begin(); it!=newmat.data.end(); it++){
    it->v *= d;
  }
  
  return _(newmat);
}
 All Classes Files Functions Variables Friends