Go to the source code of this file.
Functions | |
comple | operator* (const zrovector &rovec, const _zcovector &covec) |
comple operator* | ( | const zrovector & | rovec, |
const _zcovector & | covec | ||
) | [inline] |
zrovector*_zcovector operator
Definition at line 3 of file zrovector-_zcovector.hpp.
References zrovector::array, _zcovector::array, _zcovector::destroy(), zrovector::l, and _zcovector::l.
{VERBOSE_REPORT; #ifdef CPPL_DEBUG if(rovec.l!=covec.l){ ERROR_REPORT; std::cerr << "These two vectors can not make a product." << std::endl << "Your input was (" << rovec.l << ") * (" << covec.l << ")." << std::endl; exit(1); } #endif//CPPL_DEBUG comple val( zdotu_( rovec.l, rovec.array, 1, covec.array, 1 ) ); covec.destroy(); return val; }