CPPLapack
 All Classes Files Functions Variables Friends Pages
Functions
double-_dsymatrix.hpp File Reference

Go to the source code of this file.

Functions

_dsymatrix operator* (const double &d, const _dsymatrix &mat)
 

Function Documentation

_dsymatrix operator* ( const double &  d,
const _dsymatrix mat 
)
inline

double*_dsymatrix operator

Definition at line 3 of file double-_dsymatrix.hpp.

References _dsymatrix::darray, i(), and _dsymatrix::n.

4 {CPPL_VERBOSE_REPORT;
5  for(CPPL_INT j=0; j<mat.n; j++){
6  for(CPPL_INT i=j; i<mat.n; i++){
7  mat.darray[j][i] *=d;
8  }
9  }
10 
11  return mat;
12 }
_dgematrix i(const _dgbmatrix &mat)
double ** darray
array of pointers of column head addresses
Definition: _dsymatrix.hpp:13
CPPL_INT n
matrix column size
Definition: _dsymatrix.hpp:11