CPPLapack
 All Classes Files Functions Variables Friends Pages
double-_zgbmatrix.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! double*_zgbmatrix operator */
3 inline _zgbmatrix operator*(const double& d, const _zgbmatrix& mat)
4 {CPPL_VERBOSE_REPORT;
5  CPPL_INT size =(mat.kl+mat.ku+1)*mat.n;
6  CPPL_INT inc =1;
7  zdscal_(&size, &d, mat.array, &inc);
8  return mat;
9 }
CPPL_INT ku
upper band width
Definition: _zgbmatrix.hpp:12
CPPL_INT kl
lower band width
Definition: _zgbmatrix.hpp:11
(DO NOT USE) Smart-temporary Complex Double-precision General Band Matrix Class
Definition: _zgbmatrix.hpp:3
comple * array
1D array to store matrix data
Definition: _zgbmatrix.hpp:13
CPPL_INT n
matrix column size
Definition: _zgbmatrix.hpp:10
_zgbmatrix operator*(const double &d, const _zgbmatrix &mat)