CPPLapack
 All Classes Files Functions Variables Friends
_drovector-cast.hpp
Go to the documentation of this file.
00001 //=============================================================================
00002 /*! cast to _zrovector */
00003 inline _zrovector _drovector::to_zrovector() const
00004 {VERBOSE_REPORT;
00005   zrovector 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