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