CPPLapack
 All Classes Files Functions Variables Friends Pages
Functions
dcovector-_drovector.hpp File Reference

Go to the source code of this file.

Functions

_dgematrix operator* (const dcovector &covec, const _drovector &rovec)
 

Function Documentation

_dgematrix operator* ( const dcovector covec,
const _drovector rovec 
)
inline

dcovector*_drovector operator

Definition at line 3 of file dcovector-_drovector.hpp.

References _(), _drovector::destroy(), i(), _drovector::l, dcovector::l, dgematrix::m, and dgematrix::n.

4 {CPPL_VERBOSE_REPORT;
5  dgematrix 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: _drovector.hpp:9
CPPL_INT l
vector size
Definition: dcovector.hpp:9
_dgematrix i(const _dgbmatrix &mat)
void destroy() const
Real Double-precision General Dence Matrix Class.
Definition: dgematrix.hpp:3
CPPL_INT m
matrix row size
Definition: _dgematrix.hpp:9
_dcovector _(dcovector &vec)