CPPLapack
 All Classes Files Functions Variables Friends Pages
double-_zgematrix.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! double*_zgematrix operator */
3 inline _zgematrix operator*(const double& d, const _zgematrix& mat)
4 {CPPL_VERBOSE_REPORT;
5  CPPL_INT size =mat.m*mat.n;
6  CPPL_INT inc =1;
7  zdscal_(&size, &d, mat.array, &inc);
8  return mat;
9 }
_zgematrix operator*(const double &d, const _zgematrix &mat)
CPPL_INT m
matrix row size
Definition: _zgematrix.hpp:9
(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: _zgematrix.hpp:11
CPPL_INT n
matrix column size
Definition: _zgematrix.hpp:10