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 _(), _zcovector::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  covec.destroy();
13  return _(newmat);
14 }
CPPL_INT l
vector size
Definition: zrovector.hpp:9
_dgematrix i(const _dgbmatrix &mat)
void destroy() const
Complex Double-precision General Dence Matrix Class.
Definition: zgematrix.hpp:3
CPPL_INT m
matrix row size
Definition: _dgematrix.hpp:9
CPPL_INT l
vector size
Definition: _zcovector.hpp:9
_dcovector _(dcovector &vec)