CPPLapack
 All Classes Files Functions Variables Friends Pages
double-zhematrix.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! double*zhematrix operator */
3 inline _zhematrix operator*(const double& d, const zhematrix& mat)
4 {CPPL_VERBOSE_REPORT;
5  zhematrix newmat(mat.n);
6 
7  const CPPL_INT size =mat.n*mat.n;
8  for(CPPL_INT i=0; i<size; i++){
9  newmat.array[i] =d*mat.array[i];
10  }
11 
12  return _(newmat);
13 }
(DO NOT USE) Smart-temporary Complex Double-precision Hermitian Matrix Class
Definition: _zhematrix.hpp:3
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT n
matrix column size
Definition: zhematrix.hpp:11
comple * array
1D array to store matrix data
Definition: zhematrix.hpp:12
_zhematrix operator*(const double &d, const zhematrix &mat)
Complex Double-precision Hermitian Matrix Class [l-type (UPLO=l) Strage].
Definition: zhematrix.hpp:4
_dcovector _(dcovector &vec)