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  zgematrix newmat =mat.to_zgematrix();
6 
7  CPPL_INT size =mat.n*mat.n;
8  CPPL_INT inc =1;
9  zscal_(&size, &d, newmat.array, &inc);
10 
11  mat.destroy();
12  return _(newmat);
13 }
(DO NOT USE) Smart-temporary Complex Double-precision Hermitian Matrix Class
Definition: _zhematrix.hpp:3
CPPL_INT n
matrix column size
Definition: _zhematrix.hpp:11
Complex Double-precision General Dence Matrix Class.
Definition: zgematrix.hpp:3
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
void destroy() const
_zgematrix to_zgematrix() const
_zgematrix operator*(const comple &d, const _zhematrix &mat)
_dcovector _(dcovector &vec)