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