CPPLapack
 All Classes Files Functions Variables Friends Pages
_dcovector-cast.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! cast to _zcovector */
4 {CPPL_VERBOSE_REPORT;
5  zcovector newvec(l);
6 
7  for(CPPL_INT i=0; i<l; i++){
8  newvec.array[i] =comple(array[i], 0.);
9  }
10 
11  destroy();
12  return _(newvec);
13 }
comple * array
1D array to store vector data
Definition: zcovector.hpp:10
CPPL_INT l
vector size
Definition: _dcovector.hpp:9
_dgematrix i(const _dgbmatrix &mat)
_zcovector to_zcovector() const
void destroy() const
Complex Double-precision Column Vector Class.
Definition: zcovector.hpp:3
(DO NOT USE) Smart-temporary Complex Double-precision Column Vector Class
Definition: _zcovector.hpp:3
double * array
1D array to store vector data
Definition: _dcovector.hpp:11
_dcovector _(dcovector &vec)