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