CPPLapack
 All Classes Files Functions Variables Friends Pages
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 _(), _zrovector::destroy(), i(), _zrovector::l, zcovector::l, zgematrix::m, and zgematrix::n.

4 {CPPL_VERBOSE_REPORT;
5  zgematrix newmat(covec.l, rovec.l);
6  for(CPPL_INT i=0; i<newmat.m; i++){
7  for(CPPL_INT j=0; j<newmat.n; j++){
8  newmat(i,j) =covec(i)*rovec(j);
9  }
10  }
11 
12  rovec.destroy();
13  return _(newmat);
14 }
CPPL_INT l
vector size
Definition: zcovector.hpp:9
void destroy() const
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT l
vector size
Definition: _zrovector.hpp:9
Complex Double-precision General Dence Matrix Class.
Definition: zgematrix.hpp:3
CPPL_INT m
matrix row size
Definition: _dgematrix.hpp:9
_dcovector _(dcovector &vec)