00001 //============================================================================= 00003 inline _dgematrix operator*(const dcovector& covec, const drovector& rovec) 00004 { 00005 #ifdef CPPL_VERBOSE 00006 std::cerr << "# [MARK] operator*(const dcovector&, const drovector&)" 00007 << std::endl; 00008 #endif//CPPL_VERBOSE 00009 00010 dgematrix newmat(covec.L, rovec.L); 00011 for(long i=0; i<newmat.m; i++){ for(long j=0; j<newmat.n; j++){ 00012 newmat(i,j) =covec(i)*rovec(j); 00013 }} 00014 00015 return _(newmat); 00016 }