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

Go to the source code of this file.

Functions

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

Function Documentation

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

_zgsmatrix*comple operator

Definition at line 3 of file _zgsmatrix-complex.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 comple &  d 
) [inline]

_zgsmatrix/comple operator

Definition at line 13 of file _zgsmatrix-complex.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