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

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

27 {CPPL_VERBOSE_REPORT;
28  zcovector 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 }
comple * array
1D array to store vector data
Definition: zcovector.hpp:10
CPPL_INT l
vector size
Definition: zcovector.hpp:9
_dgematrix i(const _dgbmatrix &mat)
Complex Double-precision Column Vector Class.
Definition: zcovector.hpp:3
_dcovector _(dcovector &vec)
_zcovector operator/ ( const zcovector vec,
const comple &  d 
)
inline

zcovector/comple operator

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

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

40 {CPPL_VERBOSE_REPORT;
41  zcovector 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 }
comple * array
1D array to store vector data
Definition: zcovector.hpp:10
CPPL_INT l
vector size
Definition: zcovector.hpp:9
_dgematrix i(const _dgbmatrix &mat)
Complex Double-precision Column Vector Class.
Definition: zcovector.hpp:3
_dcovector _(dcovector &vec)