CPPLapack
 All Classes Files Functions Variables Friends
_zhsmatrix-unary.hpp
Go to the documentation of this file.
00001 //=============================================================================
00002 /*! +_zhsmatrix operator */
00003 inline const _zhsmatrix& operator+(const _zhsmatrix& mat)
00004 {VERBOSE_REPORT;
00005   return mat;
00006 }
00007 
00008 //=============================================================================
00009 /*! -_zhsmatrix operator */
00010 inline _zhsmatrix operator-(const _zhsmatrix& mat)
00011 {VERBOSE_REPORT;
00012   for(std::vector<zcomponent>::iterator it=mat.data.begin(); it!=mat.data.end(); it++){
00013     it->v =-it->v;
00014   }
00015   
00016   return mat;
00017 }
 All Classes Files Functions Variables Friends