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