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