00001 //============================================================================= 00003 inline _zgematrix operator*(const std::complex<double>& d, const _zhematrix& mat) 00004 { 00005 #ifdef CPPL_VERBOSE 00006 std::cerr << "# [MARK] operator*(const std::complex<double>&, const _zhematrix&)" 00007 << std::endl; 00008 #endif//CPPL_VERBOSE 00009 00010 zgematrix newmat(mat); 00011 zscal_(mat.N*mat.N, d, newmat.array, 1); 00012 00013 mat.destroy(); 00014 return _(newmat); 00015 }