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

Go to the source code of this file.

Functions

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

Function Documentation

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

_zgsmatrix*double operator

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

References _zgsmatrix::data.

{VERBOSE_REPORT;
  for(std::vector<zcomponent>::iterator it=mat.data.begin(); it!=mat.data.end(); it++){
    it->v *=d;
  }
  return mat;
}
_zgsmatrix operator/ ( const _zgsmatrix mat,
const double &  d 
) [inline]

_zgsmatrix/double operator

Definition at line 13 of file _zgsmatrix-double.hpp.

References _zgsmatrix::data.

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