CPPLapack
 All Classes Files Functions Variables Friends
zrovector-_zcovector.hpp
Go to the documentation of this file.
00001 //=============================================================================
00002 /*! zrovector*_zcovector operator */
00003 inline comple operator*(const zrovector& rovec, const _zcovector& covec)
00004 {VERBOSE_REPORT;
00005 #ifdef  CPPL_DEBUG
00006   if(rovec.l!=covec.l){
00007     ERROR_REPORT;
00008     std::cerr << "These two vectors can not make a product." << std::endl
00009               << "Your input was (" << rovec.l << ") * (" << covec.l << ")." << std::endl;
00010     exit(1);
00011   }
00012 #endif//CPPL_DEBUG
00013   
00014   comple val( zdotu_( rovec.l, rovec.array, 1, covec.array, 1 ) );
00015   
00016   covec.destroy();
00017   return val;
00018 }
 All Classes Files Functions Variables Friends