CPPLapack
 All Classes Files Functions Variables Friends Pages
double-_dsymatrix.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! double*_dsymatrix operator */
3 inline _dsymatrix operator*(const double& d, const _dsymatrix& mat)
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
_dsymatrix operator*(const double &d, const _dsymatrix &mat)
(DO NOT USE) Smart-temporary Real Double-precision Symmetric Matrix Class
Definition: _dsymatrix.hpp:3
CPPL_INT n
matrix column size
Definition: _dsymatrix.hpp:11