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  CPPL_INT size =mat.n*mat.n;
6  CPPL_INT inc =1;
7  zdscal_(&size, &d, mat.array, &inc);
8  return mat;
9 }
(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
comple * array
1D array to store matrix data
Definition: _zhematrix.hpp:12
_zhematrix operator*(const double &d, const _zhematrix &mat)