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  return _(newvec);
12 }
double * array
1D array to store vector data
Definition: drovector.hpp:11
_zrovector to_zrovector() const
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT l
vector size
Definition: drovector.hpp:9
friend _drovector _(drovector &)
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
comple * array
1D array to store vector data
Definition: zrovector.hpp:10