Go to the source code of this file.
Functions | |
const dcovector & | operator+ (const dcovector &vec) |
_dcovector | operator- (const dcovector &vec) |
|
+dcovector operator Definition at line 3 of file dcovector-unary.hpp.
00004 {
00005 return vec;
00006 }
|
|
-dcovector operator Definition at line 10 of file dcovector-unary.hpp. References dcovector::Array, _dcovector::Array, dcovector::L, and dcovector::Ll.
00011 { 00012 _dcovector newvec(vec.L); 00013 for(long i=0; i<vec.Ll; i++){ newvec.Array[i] =-vec.Array[i]; } 00014 00015 return newvec; 00016 } |