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

Go to the source code of this file.

Functions

_zrovector operator* (const zrovector &vec, const comple &d)
_zrovector operator/ (const zrovector &vec, const comple &d)

Function Documentation

_zrovector operator* ( const zrovector vec,
const comple &  d 
) [inline]

zrovector*comple operator

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

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

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

zrovector/comple operator

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

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

{VERBOSE_REPORT;
  zrovector 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