Download this file
1 2 3 4 5 6 7 8 9 10 11 12
//============================================================================= /*! comple*zrovector operator */ inline _zrovector operator*(const comple& d, const zrovector& vec) {CPPL_VERBOSE_REPORT; zrovector newvec(vec.l); for(CPPL_INT i=0; i<vec.l; i++){ newvec.array[i] =d*vec.array[i]; } return _(newvec); }