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

Go to the source code of this file.

Functions

_zcovector operator* (const zcovector &vec, const comple &d)
_zcovector operator/ (const zcovector &vec, const comple &d)

Function Documentation

_zcovector operator* ( const zcovector vec,
const comple &  d 
) [inline]

zcovector*comple operator

Definition at line 23 of file zcovector-complex.hpp.

References _(), zcovector::array, i(), and zcovector::l.

{VERBOSE_REPORT;
  zcovector newvec(vec.l);
  for(long i=0; i<vec.l; i++){ newvec.array[i] =vec.array[i]*d; }
  
  return _(newvec);
}
_zcovector operator/ ( const zcovector vec,
const comple &  d 
) [inline]

zcovector/comple operator

Definition at line 33 of file zcovector-complex.hpp.

References _(), zcovector::array, i(), and zcovector::l.

{VERBOSE_REPORT;
  zcovector newvec(vec.l);
  for(long i=0; i<vec.l; i++){ newvec.array[i] =vec.array[i]/d; }
  
  return _(newvec);
}
 All Classes Files Functions Variables Friends