CPPLapack
 All Classes Files Functions Variables Friends Pages
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 26 of file zrovector-complex.hpp.

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

27 {CPPL_VERBOSE_REPORT;
28  zrovector newvec(vec.l);
29 
30  for(CPPL_INT i=0; i<vec.l; i++){
31  newvec.array[i] =vec.array[i]*d;
32  }
33 
34  return _(newvec);
35 }
CPPL_INT l
vector size
Definition: zrovector.hpp:9
_dgematrix i(const _dgbmatrix &mat)
Complex Double-precision Row Vector Class.
Definition: zrovector.hpp:3
_dcovector _(dcovector &vec)
comple * array
1D array to store vector data
Definition: zrovector.hpp:10
_zrovector operator/ ( const zrovector vec,
const comple &  d 
)
inline

zrovector/comple operator

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

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

40 {CPPL_VERBOSE_REPORT;
41  zrovector newvec(vec.l);
42 
43  for(CPPL_INT i=0; i<vec.l; i++){
44  newvec.array[i] =vec.array[i]/d;
45  }
46 
47  return _(newvec);
48 }
CPPL_INT l
vector size
Definition: zrovector.hpp:9
_dgematrix i(const _dgbmatrix &mat)
Complex Double-precision Row Vector Class.
Definition: zrovector.hpp:3
_dcovector _(dcovector &vec)
comple * array
1D array to store vector data
Definition: zrovector.hpp:10