Main Page | Class List | File List | Class Members | File Members | Related Pages

_dcovector-unary.hpp

Go to the documentation of this file.
00001 //=============================================================================
00002 /*! +dcovector operator */
00003 inline const _dcovector& operator+(const _dcovector& vec)
00004 {
00005   return vec;
00006 }
00007 
00008 //=============================================================================
00009 /*! -dcovector operator */
00010 inline _dcovector operator-(const _dcovector& vec)
00011 {
00012   for(long i=0; i<vec.Ll; i++){ vec.Array[i] =-vec.Array[i]; }
00013   
00014   return vec;
00015 }

Generated on Sat Jan 31 19:25:43 2004 for CPPScaLapack by doxygen 1.3.5