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

_drovector-unary.hpp File Reference

Go to the source code of this file.

Functions

const _drovectoroperator+ (const _drovector &vec)
_drovector operator- (const _drovector &vec)


Function Documentation

const _drovector& operator+ const _drovector vec  )  [inline]
 

+_drovector operator

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

00004 {
00005   return vec;
00006 }

_drovector operator- const _drovector vec  )  [inline]
 

-_drovector operator

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

References _drovector::Array, and _drovector::Ll.

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:44 2004 for CPPScaLapack by doxygen 1.3.5