CPPLapack
 All Classes Files Functions Variables Friends Pages
_zcovector-zrovector.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! _zcovector*zrovector operator */
3 inline _zgematrix operator*(const _zcovector& covec, const zrovector& rovec)
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)
CPPL_INT n
matrix column size
Definition: zgematrix.hpp:10
void destroy() const
Complex Double-precision General Dence Matrix Class.
Definition: zgematrix.hpp:3
Complex Double-precision Row Vector Class.
Definition: zrovector.hpp:3
(DO NOT USE) Smart-temporary Complex Double-precision General Dence Matrix Class
Definition: _zgematrix.hpp:3
_zgematrix operator*(const _zcovector &covec, const zrovector &rovec)
CPPL_INT m
matrix row size
Definition: zgematrix.hpp:9
(DO NOT USE) Smart-temporary Complex Double-precision Column Vector Class
Definition: _zcovector.hpp:3
CPPL_INT l
vector size
Definition: _zcovector.hpp:9
_dcovector _(dcovector &vec)