CPPLapack
 All Classes Files Functions Variables Friends Pages
_drovector-cast.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! cast to _zrovector */
4 {CPPL_VERBOSE_REPORT;
5  zrovector 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 }
double * array
1D array to store vector data
Definition: _drovector.hpp:11
CPPL_INT l
vector size
Definition: _drovector.hpp:9
_dgematrix i(const _dgbmatrix &mat)
void destroy() const
Complex Double-precision Row Vector Class.
Definition: zrovector.hpp:3
(DO NOT USE) Smart-temporary Complex Double-precision Row Vector Class
Definition: _zrovector.hpp:3
_dcovector _(dcovector &vec)
_zrovector to_zrovector() const
comple * array
1D array to store vector data
Definition: zrovector.hpp:10