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