CPPLapack
 All Classes Files Functions Variables Friends
Functions
_zcovector-_zrovector.hpp File Reference

Go to the source code of this file.

Functions

_zgematrix operator* (const _zcovector &covec, const _zrovector &rovec)

Function Documentation

_zgematrix operator* ( const _zcovector covec,
const _zrovector rovec 
) [inline]

_zcovector*_zrovector operator

Definition at line 3 of file _zcovector-_zrovector.hpp.

References _(), _zcovector::destroy(), _zrovector::destroy(), i(), _zrovector::l, _zcovector::l, zgematrix::m, and zgematrix::n.

{VERBOSE_REPORT;
  zgematrix newmat(covec.l, rovec.l);
  for(long i=0; i<newmat.m; i++){
    for(long j=0; j<newmat.n; j++){
      newmat(i,j) =covec(i)*rovec(j);
    }
  }
  
  covec.destroy();
  rovec.destroy();
  return _(newmat);
}
 All Classes Files Functions Variables Friends