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