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

_dgematrix-unary.hpp File Reference

Go to the source code of this file.

Functions

const _dgematrixoperator+ (const _dgematrix &mat)
_dgematrix operator- (const _dgematrix &mat)


Function Documentation

const _dgematrix& operator+ const _dgematrix mat  )  [inline]
 

+_dgematrix operator

Definition at line 3 of file _dgematrix-unary.hpp.

00004 {
00005   return mat;
00006 }

_dgematrix operator- const _dgematrix mat  )  [inline]
 

-_dgematrix operator

Definition at line 10 of file _dgematrix-unary.hpp.

References _dgematrix::Array, _dgematrix::Ml, and _dgematrix::Nl.

00011 {
00012   for(long i=0; i<mat.Ml*mat.Nl; i++){ mat.Array[i]=-mat.Array[i]; }
00013   
00014   return mat;
00015 }


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