00001 //============================================================================= 00003 inline _zrovector operator*(const std::complex<double>& d, const zrovector& vec) 00004 { 00005 #ifdef CPPL_VERBOSE 00006 std::cerr << "# [MARK] operator*(const std::complex<double>&, const zrovector&)" 00007 << std::endl; 00008 #endif//CPPL_VERBOSE 00009 00010 zrovector newvec(vec.L); 00011 for(long i=0; i<vec.L; i++){ newvec.Array[i] =d*vec.Array[i]; } 00012 00013 return _(newvec); 00014 }