CPPLapack
 All Classes Files Functions Variables Friends
_dcovector-cast.hpp
Go to the documentation of this file.
00001 //=============================================================================
00002 /*! cast to _zcovector */
00003 inline _zcovector _dcovector::to_zcovector() const
00004 {VERBOSE_REPORT;
00005   zcovector newvec(l);
00006   
00007   for(long i=0; i<l; i++){
00008     newvec.array[i] =comple(array[i], 0.);
00009   }
00010   
00011   destroy();
00012   return _(newvec);
00013 }
 All Classes Files Functions Variables Friends