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  dsymatrix newmat(mat.n);
6 
7  for(CPPL_INT j=0; j<mat.n; j++){
8  for(CPPL_INT i=j; i<mat.n; i++){
9  newmat.darray[j][i] =d*mat.darray[j][i];
10  }
11  }
12 
13  return _(newmat);
14 }
_dgematrix i(const _dgbmatrix &mat)
Real Double-precision Symmetric Matrix Class [l-type (UPLO=l) Strage].
Definition: dsymatrix.hpp:3
CPPL_INT n
matrix column size
Definition: dsymatrix.hpp:10
(DO NOT USE) Smart-temporary Real Double-precision Symmetric Matrix Class
Definition: _dsymatrix.hpp:3
double ** darray
array of pointers of column head addresses
Definition: dsymatrix.hpp:12
_dsymatrix operator*(const double &d, const dsymatrix &mat)
_dcovector _(dcovector &vec)