Go to the source code of this file.
Functions | |
_dcovector | operator * (const double &d, const dcovector &vec) |
|
double*dcovector operator Definition at line 3 of file double-dcovector.hpp. References dcovector::Array, _dcovector::Array, dcovector::L, and dcovector::Ll.
00004 { 00005 _dcovector newvec(vec.L); 00006 for(int i=0; i<vec.Ll; i++){ newvec.Array[i] =d*vec.Array[i]; } 00007 00008 return newvec; 00009 } |