My Project
double-zrovector.hpp
1 //=============================================================================
3 inline _zrovector operator*(const double& d, const zrovector& vec)
4 {
5 #ifdef CPPL_VERBOSE
6  std::cerr << "# [MARK] operator*(const double&, const zrovector&)"
7  << std::endl;
8 #endif//CPPL_VERBOSE
9 
10  zrovector newvec(vec.L);
11  for(long i=0; i<vec.L; i++){ newvec.Array[i] =d*vec.Array[i]; }
12  return _(newvec);
13 }
Complex Double-precision Row Vector Class.
Definition: zrovector.hpp:3
(DO NOT USE) Smart-temporary Complex Double-precision Row Vector Class
Definition: _zrovector.hpp:3
friend _drovector operator*(const drovector &, const dgematrix &)
Definition: drovector-dgematrix.hpp:3